File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
import Layout from '@/components/Layout/Layout.component' ;
2
2
import UserLogin from '@/components/User/UserLogin.component' ;
3
+
3
4
import type { NextPage } from 'next' ;
4
5
5
6
const LoginPage : NextPage = ( ) => {
Original file line number Diff line number Diff line change 1
1
import Layout from '@/components/Layout/Layout.component' ;
2
2
import CustomerAccount from '@/components/User/CustomerAccount.component' ;
3
- import type { NextPage } from 'next' ;
4
3
import withAuth from '@/components/User/withAuth.component' ;
5
4
5
+ import type { NextPage } from 'next' ;
6
+
6
7
const CustomerAccountPage : NextPage = ( ) => {
7
8
return (
8
9
< Layout title = "Min konto" >
Original file line number Diff line number Diff line change 1
- /*eslint complexity: ["error", 6 ]*/
1
+ /*eslint complexity: ["error", 8 ]*/
2
2
3
- /* eslint-disable unicorn/no-thenable */
4
3
import {
5
4
ApolloClient ,
6
5
InMemoryCache ,
Original file line number Diff line number Diff line change 1
- import { ApolloClient , InMemoryCache , gql } from '@apollo/client' ;
1
+ import { ApolloClient , InMemoryCache } from '@apollo/client' ;
2
2
import { LOGIN_USER , REFRESH_AUTH_TOKEN } from './gql/GQL_MUTATIONS' ;
3
3
4
- let tokenSetter : NodeJS . Timeout ;
4
+ let tokenSetter : ReturnType < typeof setInterval > ;
5
5
6
6
export function hasCredentials ( ) {
7
7
const authToken = sessionStorage . getItem (
You can’t perform that action at this time.
0 commit comments