improve web ui
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
import type { Meta, StoryObj } from '@storybook/react-vite'
|
||||
import { SettingsPage } from '@/routes/settings'
|
||||
import type { Meta, StoryObj } from "@storybook/react-vite";
|
||||
import { SectionSettings } from "@/sections/Settings";
|
||||
|
||||
// Settings reads no API (just the locale + a logout button), so it renders
|
||||
// directly — no mock needed.
|
||||
const meta = {
|
||||
title: 'Pages/Settings',
|
||||
component: SettingsPage,
|
||||
} satisfies Meta<typeof SettingsPage>
|
||||
title: "Pages/Settings",
|
||||
component: SectionSettings,
|
||||
} satisfies Meta<typeof SectionSettings>;
|
||||
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Default: Story = {}
|
||||
export const Default: Story = {};
|
||||
|
||||
Reference in New Issue
Block a user