-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Await getUserFromSession and run prettier
- Loading branch information
1 parent
785f5e4
commit 841cdae
Showing
25 changed files
with
99 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
export default async function Home() { | ||
return ( | ||
<div className="note--empty-state"> | ||
<span className="note-text--empty-state"> | ||
Click a note on the left to view something! | ||
</span> | ||
<span className="note-text--empty-state">Click a note on the left to view something!</span> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
import { type Meta, type StoryObj } from '@storybook/react' | ||
import NoteEditor from "./note-editor"; | ||
import NoteEditor from './note-editor' | ||
|
||
const meta = { | ||
component: NoteEditor, | ||
args: { | ||
initialTitle: 'This is a title', | ||
initialBody: 'This is a body', | ||
noteId: 1, | ||
} | ||
}, | ||
} satisfies Meta<typeof NoteEditor> | ||
|
||
export default meta; | ||
export default meta | ||
|
||
type Story = StoryObj<typeof meta> | ||
export const Default: Story = {} | ||
export const Draft: Story = { | ||
args: { | ||
noteId: undefined, | ||
} | ||
} | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { type Meta, type StoryObj } from '@storybook/react' | ||
import NoteListSkeleton from "./note-list-skeleton"; | ||
import NoteListSkeleton from './note-list-skeleton' | ||
|
||
const meta = { | ||
component: NoteListSkeleton, | ||
} satisfies Meta<typeof NoteListSkeleton> | ||
|
||
export default meta; | ||
export default meta | ||
|
||
type Story = StoryObj<typeof meta> | ||
export const Default: Story = {} | ||
export const Default: Story = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.