aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/pages/User.tsx
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-11-04 13:47:50 +0300
committerGitHub <noreply@github.com>2024-11-04 13:47:50 +0300
commiteae19bb1b047b3568e7a9a624b50e80886e56331 (patch)
treeaa3215377fd1a7714e4c5763f9abf9d7dc7def2b /frontend/src/pages/User.tsx
parentfix: remove insert trigger on users, check insert user on login err (#224) (diff)
downloadlphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.gz
lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.bz2
lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.zip
feat/frontend: optimizing imports, file extensions (#230)
Co-authored-by: FifthWit <fifthwitbusiness@gmail.com>
Diffstat (limited to 'frontend/src/pages/User.tsx')
-rw-r--r--frontend/src/pages/User.tsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/frontend/src/pages/User.tsx b/frontend/src/pages/User.tsx
index ad230bd..f90d1aa 100644
--- a/frontend/src/pages/User.tsx
+++ b/frontend/src/pages/User.tsx
@@ -1,14 +1,14 @@
1import React from 'react'; 1import React from 'react';
2import { Link, useLocation, useNavigate } from 'react-router-dom'; 2import { Link, useLocation, useNavigate } from 'react-router-dom';
3 3
4import { SteamIcon, TwitchIcon, YouTubeIcon, PortalIcon, FlagIcon, StatisticsIcon, SortIcon, ThreedotIcon, DownloadIcon, HistoryIcon } from '../images/Images'; 4import { SteamIcon, TwitchIcon, YouTubeIcon, PortalIcon, FlagIcon, StatisticsIcon, SortIcon, ThreedotIcon, DownloadIcon, HistoryIcon } from '@images/Images';
5import { UserProfile } from '../types/Profile'; 5import { UserProfile } from '@customTypes/Profile';
6import { Game, GameChapters } from '../types/Game'; 6import { Game, GameChapters } from '@customTypes/Game';
7import { Map } from '../types/Map'; 7import { Map } from '@customTypes/Map';
8import { API } from '../api/Api'; 8import { API } from '@api/Api';
9import { ticks_to_time } from '../utils/Time'; 9import { ticks_to_time } from '@utils/Time';
10import "../css/Profile.css"; 10import "@css/Profile.css";
11import useMessage from '../hooks/UseMessage'; 11import useMessage from '@hooks/UseMessage';
12 12
13interface UserProps { 13interface UserProps {
14 profile?: UserProfile; 14 profile?: UserProfile;