Skip to content

Commit

Permalink
Get rid of some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jul 25, 2024
1 parent b3f768c commit 9243f9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/fuselage/src/components/Badge/Badge.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { composeStories } from '@storybook/testing-react';
import { render, screen } from '@testing-library/react';
import React from 'react';

import { Badge } from './Badge';
import Badge from './Badge';
import * as stories from './Badge.stories';

const { Default, Primary, Secondary, Danger, Warning, Disabled } =
Expand Down
4 changes: 2 additions & 2 deletions packages/fuselage/src/components/Menu/V2/Menu.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';
import type { IconName } from '@rocket.chat/icons';
import type { ElementType } from 'react';
import type { ElementType, ReactElement } from 'react';
import React, { cloneElement, useRef } from 'react';
import type { AriaMenuProps } from 'react-aria';
import { useButton, useMenuTrigger } from 'react-aria';
Expand All @@ -15,7 +15,7 @@ import MenuPopover from './MenuPopover';
import { getPlacement } from './helpers/helpers';

export interface MenuButtonProps<T> extends AriaMenuProps<T>, MenuTriggerProps {
icon?: IconName;
icon?: IconName | ReactElement;
large?: boolean;
medium?: boolean;
small?: boolean;
Expand Down

0 comments on commit 9243f9a

Please sign in to comment.