diff --git a/src/widgets/romm/component.jsx b/src/widgets/romm/component.jsx index 1cb3033e0..44b114b03 100644 --- a/src/widgets/romm/component.jsx +++ b/src/widgets/romm/component.jsx @@ -1,9 +1,12 @@ +import { useTranslation } from "next-i18next"; + import Container from "components/services/widget/container"; import Block from "components/services/widget/block"; import useWidgetAPI from "utils/proxy/use-widget-api"; export default function Component({ service }) { const { widget } = service; + const { t } = useTranslation(); const { data: response, error: responseError } = useWidgetAPI(widget, "statistics"); @@ -24,8 +27,8 @@ export default function Component({ service }) { const totalRoms = response.reduce((total, stat) => total + stat.rom_count, 0); return ( - - + + ); }