Skip to content

Commit

Permalink
Add organization switcher to demo site
Browse files Browse the repository at this point in the history
  • Loading branch information
markjaquith committed Nov 24, 2023
1 parent db68e00 commit 5da2f31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import '../app.css'
import OrganizationSwitcher from '$lib/client/OrganizationSwitcher.svelte'
import UserButton from '$lib/client/UserButton.svelte'
import SignedIn from '$lib/client/SignedIn.svelte'
import SignedOut from '$lib/client/SignedOut.svelte'
Expand Down Expand Up @@ -29,6 +30,9 @@
</div>
<div class="flex gap-4 ml-auto">
<SignedIn>
<div data-testid="organization-switcher">
<OrganizationSwitcher />
</div>
<div data-testid="user-button">
<UserButton afterSignOutUrl="/" />
</div>
Expand Down

0 comments on commit 5da2f31

Please sign in to comment.