From 5c1ed50f3a1b01d419acbe190d82df8d47a8aed3 Mon Sep 17 00:00:00 2001 From: Felipe Marinho Date: Fri, 3 Jan 2025 20:19:19 -0300 Subject: [PATCH] chg: fix: remove unused code --- front/packages/ui/src/player/components/right-buttons.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/front/packages/ui/src/player/components/right-buttons.tsx b/front/packages/ui/src/player/components/right-buttons.tsx index d2b4ce36b..57c17fa5c 100644 --- a/front/packages/ui/src/player/components/right-buttons.tsx +++ b/front/packages/ui/src/player/components/right-buttons.tsx @@ -29,7 +29,7 @@ import { useAtom } from "jotai"; import { useTranslation } from "react-i18next"; import { Platform, View } from "react-native"; import { type Stylable, useYoshiki } from "yoshiki/native"; -import { useDisplayName, useSubtitleName } from "../../utils"; +import { useSubtitleName } from "../../utils"; import { fullscreenAtom, subtitleAtom } from "../state"; import { AudiosMenu, QualitiesMenu } from "../video"; @@ -49,7 +49,6 @@ export const RightButtons = ({ } & Stylable) => { const { css } = useYoshiki(); const { t } = useTranslation(); - const getDisplayName = useDisplayName(); const getSubtitleName = useSubtitleName(); const [isFullscreen, setFullscreen] = useAtom(fullscreenAtom); const [selectedSubtitle, setSubtitle] = useAtom(subtitleAtom);