remove unused object

This commit is contained in:
Philipinho
2025-07-17 21:03:05 -07:00
parent c17e4f7ff6
commit 109365c432
2 changed files with 4 additions and 7 deletions
@@ -69,12 +69,9 @@ export default function useAuth() {
if (response?.requiresLogin) { if (response?.requiresLogin) {
notifications.show({ notifications.show({
message: message: t(
response.message || "Account created successfully. Please log in to set up two-factor authentication.",
t( ),
"Account created successfully. Please log in to set up two-factor authentication.",
),
color: "green",
}); });
navigate(APP_ROUTE.AUTH.LOGIN); navigate(APP_ROUTE.AUTH.LOGIN);
} else { } else {
@@ -66,7 +66,7 @@ export async function createInvitation(data: ICreateInvite) {
return req.data; return req.data;
} }
export async function acceptInvitation(data: IAcceptInvite): Promise<{ requiresLogin?: boolean; message?: string }> { export async function acceptInvitation(data: IAcceptInvite): Promise<{ requiresLogin?: boolean; }> {
const req = await api.post("/workspace/invites/accept", data); const req = await api.post("/workspace/invites/accept", data);
return req.data; return req.data;
} }