mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 02:21:51 +08:00
chore: fix code style issues (#4857)
This commit is contained in:
@@ -53,12 +53,10 @@ const Main = () => {
|
||||
|
||||
export const Default: StoryFn = () => {
|
||||
return (
|
||||
<>
|
||||
<Container>
|
||||
<AppSidebar />
|
||||
<Main />
|
||||
</Container>
|
||||
</>
|
||||
<Container>
|
||||
<AppSidebar />
|
||||
<Main />
|
||||
</Container>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -28,10 +28,8 @@ export const CMDKModalStory: StoryFn = () => {
|
||||
export const CMDKPanelStory: StoryFn = () => {
|
||||
const [query, setQuery] = useState('');
|
||||
return (
|
||||
<>
|
||||
<CMDKModal open>
|
||||
<CMDKContainer open query={query} onQueryChange={setQuery} />
|
||||
</CMDKModal>
|
||||
</>
|
||||
<CMDKModal open>
|
||||
<CMDKContainer open query={query} onQueryChange={setQuery} />
|
||||
</CMDKModal>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user