Skip to content

Commit 148fa91

Browse files
committed
Fix linting error
Signed-off-by: Aryan Shah <[email protected]>
1 parent f1f9a18 commit 148fa91

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/custom/VisibilityChipMenu/VisibilityChipMenu.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ export const VIEW_VISIBILITY = {
1010
PUBLISHED: 'published'
1111
} as const;
1212

13-
export type VIEW_VISIBILITY = (typeof VIEW_VISIBILITY)[keyof typeof VIEW_VISIBILITY];
13+
14+
export type ViewVisibility = (typeof VIEW_VISIBILITY)[keyof typeof VIEW_VISIBILITY];
1415

1516
interface VisibilityChipMenuProps {
16-
value: VIEW_VISIBILITY;
17+
value: ViewVisibility;
1718
onChange?: (value: string) => void;
1819
options?: [string, React.ElementType][];
1920
enabled: boolean;
@@ -144,4 +145,4 @@ const VisibilityChipMenu: React.FC<VisibilityChipMenuProps> = ({
144145
);
145146
};
146147

147-
export default VisibilityChipMenu;
148+
export default VisibilityChipMenu;

0 commit comments

Comments
 (0)