fix: share overview

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-29 20:43:49 +01:00
parent e33de4d00e
commit 98b3f50917
6 changed files with 24 additions and 20 deletions

View File

@@ -12,7 +12,9 @@ export function ShareEnterPassword({ shareId }: { shareId: string }) {
const trpc = useTRPC();
const mutation = useMutation(
trpc.auth.signInShare.mutationOptions({
onSuccess() {},
onSuccess() {
window.location.reload();
},
onError() {
toast.error('Incorrect password');
},