Skip to content

Commit 57b7d24

Browse files
committed
WIP
1 parent ca3e8dd commit 57b7d24

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

apps/cyberstorm-remix/app/settings/user/Connections/Connections.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@ export default function Connections() {
5252
throw new Error("User not logged in");
5353
}
5454

55+
// TODO: Set session as stale here?
56+
5557
toast.addToast({
5658
csVariant: "success",
59+
// TODO: FIX success message by passing the provider name
5760
children: <>User {username} was disconnected from</>,
5861
duration: 30000,
5962
});

apps/cyberstorm-remix/app/settings/user/Settings.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ export async function loader({ request }) {
3939
return { currentUser };
4040
}
4141

42+
// TODO: Use clientLoader to validate session on client side and update session if
43+
// needed with session tools?
44+
4245
export function HydrateFallback() {
4346
return <div style={{ padding: "32px" }}>Loading...</div>;
4447
}

0 commit comments

Comments
 (0)