Skip to content

Commit

Permalink
fix user name missing in some types
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoLuglio committed Oct 12, 2024
1 parent dde450a commit 8df6b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/ThemePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ const ThemePreview: React.FC = () => {
syntaxColors: syntaxColors,
ansiColors: ansiColors,
userId: '',
userName: '',
createdAt: new Date(),
updatedAt: new Date(),
}}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/types/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export const SavedThemeSchema = z.object({
name: z.string(),
public: z.boolean(),
userId: z.string(),
userName: z.optional(z.string()),
userName: z.string(),
uiColors: UIColorsSchema,
syntaxColors: SyntaxColorsSchema,
ansiColors: AnsiColorsSchema,
Expand Down

0 comments on commit 8df6b05

Please sign in to comment.