Skip to content

Commit

Permalink
fix: update code after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
huglx committed Nov 12, 2024
1 parent 3489408 commit c7fdba5
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions webapp/src/globalContext/useAuthService.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
import { useState } from 'react';
import { T } from '@tolgee/react';
import { useHistory } from 'react-router-dom';
import { v4 as uuidv4 } from 'uuid';
import {useState} from 'react';
import {T} from '@tolgee/react';
import {useHistory} from 'react-router-dom';
import {v4 as uuidv4} from 'uuid';

import { securityService } from 'tg.service/SecurityService';
import {
ADMIN_JWT_LOCAL_STORAGE_KEY,
tokenService,
} from 'tg.service/TokenService';
import { components } from 'tg.service/apiSchema.generated';
import { useApiMutation } from 'tg.service/http/useQueryApi';
import { useInitialDataService } from './useInitialDataService';
import { LINKS, PARAMS } from 'tg.constants/links';
import {
INVITATION_CODE_STORAGE_KEY,
InvitationCodeService,
} from 'tg.service/InvitationCodeService';
import { messageService } from 'tg.service/MessageService';
import { TranslatedError } from 'tg.translationTools/TranslatedError';
import { useLocalStorageState } from 'tg.hooks/useLocalStorageState';
import {securityService} from 'tg.service/SecurityService';
import {ADMIN_JWT_LOCAL_STORAGE_KEY, tokenService,} from 'tg.service/TokenService';
import {components} from 'tg.service/apiSchema.generated';
import {useApiMutation} from 'tg.service/http/useQueryApi';
import {useInitialDataService} from './useInitialDataService';
import {Link, LINKS, PARAMS} from 'tg.constants/links';
import {INVITATION_CODE_STORAGE_KEY, InvitationCodeService,} from 'tg.service/InvitationCodeService';
import {messageService} from 'tg.service/MessageService';
import {TranslatedError} from 'tg.translationTools/TranslatedError';
import {useLocalStorageState} from 'tg.hooks/useLocalStorageState';

type LoginRequest = components['schemas']['LoginRequest'];
type JwtAuthenticationResponse =
Expand Down

0 comments on commit c7fdba5

Please sign in to comment.