fix(cli): Add conditional rendering for private data based on API type

This commit is contained in:
Aman Varshney
2025-07-17 09:55:40 +05:30
parent 6a43a4f161
commit 5ab503a814
10 changed files with 70 additions and 56 deletions

View File

@@ -1,7 +1,6 @@
<script lang="ts">
import { authClient } from '$lib/auth-client';
import { goto } from '$app/navigation';
import { queryClient } from '$lib/orpc';
const sessionQuery = authClient.useSession();
@@ -9,7 +8,6 @@
await authClient.signOut({
fetchOptions: {
onSuccess: () => {
queryClient.invalidateQueries();
goto('/');
},
onError: (error) => {