From e18b4e905ad84f1d1c62bfbec8d454b64467806b Mon Sep 17 00:00:00 2001 From: Samuel N Cui Date: Fri, 13 Oct 2023 14:48:35 +0800 Subject: [PATCH] fix: tape filesize format --- frontend/src/pages/tapes.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/pages/tapes.tsx b/frontend/src/pages/tapes.tsx index cdda864..ea60a52 100644 --- a/frontend/src/pages/tapes.tsx +++ b/frontend/src/pages/tapes.tsx @@ -7,6 +7,7 @@ import { ChonkyActions, ChonkyFileActionData, FileData } from "@samuelncui/chonk import { cli, Root, convertTapes, convertPositions } from "../api"; import { TrimLibraryAction } from "../actions"; +import { chonkyI18n } from "../tools"; export const TapesType = "tapes"; @@ -127,6 +128,7 @@ const useTapesSourceBrowser = (source: RefObject) => { fileActions, defaultFileViewActionId: ChonkyActions.EnableListView.id, doubleClickDelay: 300, + i18n: chonkyI18n, }; };