fix unauthenticated flow

This commit is contained in:
jeffvli
2025-11-18 17:31:40 -08:00
parent 781582c043
commit 92d4681a23
4 changed files with 14 additions and 24 deletions
+4
View File
@@ -116,6 +116,10 @@ export const useCurrentServerId = () => useAuthStore((state) => state.currentSer
export const useCurrentServer = () =>
useAuthStore((state) => {
if (!state.currentServer) {
return null;
}
return {
features: state.currentServer?.features,
id: state.currentServer?.id,