Skip to content

Commit

Permalink
perf: remove svg icon from platform select as bottleneck and not usef…
Browse files Browse the repository at this point in the history
…ul for this place (#1061)
  • Loading branch information
jy95 authored Dec 1, 2024
1 parent 42d01e0 commit 3d77ec8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/GamesView/PlatformSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import { useGetPlatformsQuery } from "@/redux/services/platformsAPI";
import Autocomplete from "@mui/material/Autocomplete";
import TextField from '@mui/material/TextField';

// icons
import RenderPlatformIcon from "@/components/GamesView/PlatformIcons";

import type { Platform_Entry } from "@/app/api/platforms/route";

function PlatformSelect() {
Expand All @@ -35,7 +32,6 @@ function PlatformSelect() {
renderInput={(params) => <TextField {...params} label={t("platform") as string} />}
renderOption={(props, option) => (
<li {...props} key={option.name}>
<RenderPlatformIcon identifier={option.id} label={option.name} />
{option.name}
</li>
)}
Expand Down

0 comments on commit 3d77ec8

Please sign in to comment.