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) {
notifications.show({
message:
response.message ||
t(
"Account created successfully. Please log in to set up two-factor authentication.",
),
color: "green",
message: t(
"Account created successfully. Please log in to set up two-factor authentication.",
),
});
navigate(APP_ROUTE.AUTH.LOGIN);
} else {
@@ -66,7 +66,7 @@ export async function createInvitation(data: ICreateInvite) {
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);
return req.data;
}