Skip to content

Commit

Permalink
docs(Drawer): removed misleading button in first Drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Howell committed Feb 7, 2023
1 parent 09481b5 commit 74a8d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
7 changes: 1 addition & 6 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"src/**/*.(js|ts|svelte)": [
"prettier --write",
"prettier --check .",
"eslint .",
"eslint --fix"
]
"src/**/*.(js|ts|svelte)": ["prettier --write", "prettier --check .", "eslint .", "eslint --fix"]
}
5 changes: 1 addition & 4 deletions src/routes/drawer/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,7 @@
{#if drawerRightOpen}
<Drawer handleClose={closeDrawerRight}>
<Drawer.Header slot="header">Drawer Header</Drawer.Header>
<Drawer.Content slot="content"
>Drawer Content
<Button type="primary" on:click={openInsideDrawer}>Open Drawer</Button>
</Drawer.Content>
<Drawer.Content slot="content">Drawer Content</Drawer.Content>
<Drawer.Footer slot="footer">Drawer Footer</Drawer.Footer>
</Drawer>
{/if}
Expand Down

0 comments on commit 74a8d8a

Please sign in to comment.