diff --git a/front/components/GtkUI/RawElement.tsx b/front/components/GtkUI/RawElement.tsx index e52a4d7..b25db1c 100644 --- a/front/components/GtkUI/RawElement.tsx +++ b/front/components/GtkUI/RawElement.tsx @@ -150,7 +150,7 @@ export const RawElement = ({ element }: RawElementProps) => { /> ); default: - return + return ; } })()} diff --git a/front/components/SearchResult.tsx b/front/components/SearchResult.tsx index 2489ec8..f313721 100644 --- a/front/components/SearchResult.tsx +++ b/front/components/SearchResult.tsx @@ -92,7 +92,7 @@ const SongsSearchComponent = (props: SongsSearchComponentProps) => { return ( - + {songData?.length ? ( songData.slice(0, props.maxRows).map((comp, index) => ( @@ -129,7 +129,7 @@ const ArtistSearchComponent = (props: ItemSearchComponentProps) => { return ( - + {artistData?.length ? ( { return ( - + {genreData?.length ? ( ({ @@ -193,7 +193,7 @@ const FavoritesComponent = () => { return ( - + {favoritesQuery.data?.map((songData) => ( { case 'favorites': return ; default: - return `${e}: ${currentFilter}`}/>; + return ( + `${e}: ${currentFilter}`} /> + ); } }; diff --git a/front/components/UI/ScaffoldDesktopCC.tsx b/front/components/UI/ScaffoldDesktopCC.tsx index c47e5c6..0ec7dbb 100644 --- a/front/components/UI/ScaffoldDesktopCC.tsx +++ b/front/components/UI/ScaffoldDesktopCC.tsx @@ -55,7 +55,10 @@ const SongHistory = (props: { quantity: number }) => { return ( {musics.length === 0 ? ( - + ) : ( musics.map((song) => ( { run(); }, []); - return + return ; }; export default GoogleView; diff --git a/front/views/MusicView.tsx b/front/views/MusicView.tsx index 1bb08cd..50bf7c8 100644 --- a/front/views/MusicView.tsx +++ b/front/views/MusicView.tsx @@ -98,7 +98,7 @@ export const FavoritesMusic = () => { export const RecentlyPlayedMusic = () => { return (
- +
); }; @@ -106,7 +106,7 @@ export const RecentlyPlayedMusic = () => { export const StepUpMusic = () => { return (
- +
); }; @@ -171,7 +171,10 @@ const MusicTab = (props: RouteProps) => { }} renderLabel={({ route, color }) => layout.width > 800 && ( - + ) } tabStyle={{ flexDirection: 'row' }} diff --git a/front/views/ProfileView.tsx b/front/views/ProfileView.tsx index caf51e3..06efdbb 100644 --- a/front/views/ProfileView.tsx +++ b/front/views/ProfileView.tsx @@ -86,9 +86,13 @@ const ProfileView = (props: RouteProps<{}>) => { onPress={async () => navigation.navigate('Settings', {})} /> - ( - `${e} ${userQuery.data.data.createdAt.toLocaleDateString()}` - )} /> + + `${e} ${userQuery.data.data.createdAt.toLocaleDateString()}` + } + /> ) => { paddingBottom: 10, }} > - `${userQuery.data.data.gamesPlayed} ${e}`} /> + `${userQuery.data.data.gamesPlayed} ${e}`} + /> - `${e} ${level}`} /> + `${e} ${level}`} + /> { }} > - + - + { }} > - + @@ -192,7 +192,7 @@ const StartPageView = () => { }} > - + diff --git a/front/views/settings/SettingsView.tsx b/front/views/settings/SettingsView.tsx index 7459c13..3e04ec9 100644 --- a/front/views/settings/SettingsView.tsx +++ b/front/views/settings/SettingsView.tsx @@ -12,13 +12,7 @@ import { Route, SceneRendererProps, } from 'react-native-tab-view'; -import { - HeartEdit, - UserEdit, - Notification, - SecurityUser, - FolderCross, -} from 'iconsax-react-native'; +import { HeartEdit, UserEdit, Notification, SecurityUser, FolderCross } from 'iconsax-react-native'; import { Scene } from 'react-native-tab-view/lib/typescript/src/types'; import { RouteProps } from '../../Navigation'; import ScaffoldCC from '../../components/UI/ScaffoldCC';