Skip to content

Commit

Permalink
[SOK-16]
Browse files Browse the repository at this point in the history
*format
*fix lint
  • Loading branch information
gloginov committed Oct 2, 2024
1 parent 6dcb54e commit 94da985
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion packages/client/src/components/ui/Button/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Link } from 'react-router-dom'
import './Button.scss'

export const Button = (props: {
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/layouts/AuthLayout/AuthLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Outlet, useNavigate } from 'react-router-dom'
import { useSelector } from 'react-redux'
import { RootState, useAppDispatch } from '@/store'
import { actions, getUser, UserType } from '@/store/reducers/auth-reducer'
import { RootState } from '@/store'
import { UserType } from '@/store/reducers/auth-reducer'
import { toast } from 'react-toastify'
import { useEffect } from 'react'

Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/pages/Main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useEffect, useState } from 'react'
import { CustomPageTitle } from '@/components/ui/CustomPageTitle/CustomPageTitle'
import { Button } from '@/components/ui/Button/Button'
import { EnemyTank } from './components/EnemyTanks/EnemyTank'
import {useNavigate} from "react-router-dom";
import { useNavigate } from 'react-router-dom'

export const Main = () => {
const [isLoaded, setIsLoaded] = useState(false)
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/pages/SignIn/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const SignIn = () => {
const handleSubmit = () => {
dispatch(signInUser({ form: form, query: query }))
.unwrap()
.then((response: any) => {
.then(() => {
navigate('/game')
})
.catch((error?: any, code?: any) => {
Expand Down

0 comments on commit 94da985

Please sign in to comment.