diff --git a/client/cms/.zed/settings.json b/client/cms/.zed/settings.json index aa63caf..6424aea 100644 --- a/client/cms/.zed/settings.json +++ b/client/cms/.zed/settings.json @@ -13,6 +13,6 @@ "**/.DS_Store", "**/Thumbs.db", "**/.classpath", - "**/.settings", - ], + "**/.settings" + ] } diff --git a/client/cms/eslint.config.js b/client/cms/eslint.config.js index fe10bc6..ec5180d 100644 --- a/client/cms/eslint.config.js +++ b/client/cms/eslint.config.js @@ -4,7 +4,7 @@ import pluginQuery from '@tanstack/eslint-plugin-query'; export default antfu({ gitignore: true, - ignores: ['**/node_modules/**', '**/dist/**', 'bun.lock', '**/routeTree.gen.ts', '**/ui/**', 'src/components/editor/**/*', 'src/client/**/*', 'openapi-ts.config.ts'], + ignores: ['**/node_modules/**', '**/dist/**', 'bun.lock', '**/routeTree.gen.ts', '**/ui/**', 'src/components/editor/**/*', 'src/client/**/*', 'openapi-ts.config.ts', 'vitest.shims.d.ts', '.storybook/**/*'], react: true, stylistic: { semi: true, diff --git a/client/cms/src/components/events/event-grid.container.tsx b/client/cms/src/components/events/event-grid.container.tsx index e0e981f..41d47f1 100644 --- a/client/cms/src/components/events/event-grid.container.tsx +++ b/client/cms/src/components/events/event-grid.container.tsx @@ -10,14 +10,14 @@ export function EventGridContainer() { const allEvents: EventInfo[] = isLoading ? [] : data.pages.flatMap(page => page.data!).map(it => ({ - type: it.type! as EventInfo['type'], - coverImage: it.thumbnail! || PlaceholderImage, - eventName: it.name!, - description: it.description!, - startTime: new Date(it.start_time!), - endTime: new Date(it.end_time!), - onJoinEvent: () => mutate({ body: { event_id: it.event_id } }), - } satisfies EventInfo)); + type: it.type! as EventInfo['type'], + coverImage: it.thumbnail! || PlaceholderImage, + eventName: it.name!, + description: it.description!, + startTime: new Date(it.start_time!), + endTime: new Date(it.end_time!), + onJoinEvent: () => mutate({ body: { event_id: it.event_id } }), + } satisfies EventInfo)); return ; } diff --git a/client/cms/src/components/profile/profile.view.tsx b/client/cms/src/components/profile/profile.view.tsx index 0669fdf..5981f0b 100644 --- a/client/cms/src/components/profile/profile.view.tsx +++ b/client/cms/src/components/profile/profile.view.tsx @@ -53,12 +53,12 @@ export function ProfileView({ user, onSaveBio }: { user: ServiceUserUserInfoData {/* Bio */} {enableBioEdit ? ( - - ) + + ) :
{bio}
}