Skip to content

Commit

Permalink
Fixed type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunear committed Jun 17, 2024
1 parent 33c3f88 commit e39677e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion apps/theme/components/ColorModal/ColorModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import classes from './ColorModal.module.css';

type ColorModalProps = {
colorModalRef: React.RefObject<HTMLDialogElement>;
name: string;
color: { color: ColorInfo; type: ColorType };
};

Expand Down
2 changes: 1 addition & 1 deletion apps/theme/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const useThemeStore = create(
number: 1,
name: 'Default',
},
type: '',
type: 'accent',
},
setSelectedColor: (color, type) =>
set({ selectedColor: { color: color, type: type } }),
Expand Down

0 comments on commit e39677e

Please sign in to comment.