Skip to content

Commit eba7da3

Browse files
committed
Fix Guard component prefix
1 parent 1aba01a commit eba7da3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/components/guard/Guard.stories.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ const meta = {
1515
} as const
1616

1717
const render = defineAuthStoryRender<typeof meta.argTypes>(() => html`
18-
<solid-guard>
18+
<solid-ui-guard>
1919
<span slot="initializing">Initializing content</span>
2020
<span slot="guest">Guest content</span>
2121
<span>Logged in content</span>
22-
</solid-guard>
22+
</solid-ui-guard>
2323
`)
2424

2525
export const Primary = { render }

‎src/components/guard/Guard.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { consume } from '@lit/context'
33
import { html } from 'lit'
44
import { authContext, AuthContext, DEFAULT_AUTH_CONTEXT } from '@/lib/auth'
55

6-
@customElement('solid-guard')
6+
@customElement('solid-ui-guard')
77
export default class Guard extends WebComponent {
88
@consume({ context: authContext, subscribe: true })
99
private accessor auth: AuthContext = DEFAULT_AUTH_CONTEXT

0 commit comments

Comments
 (0)