Skip to content

Commit

Permalink
Fix docs for i18n.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Jul 31, 2024
1 parent 767d3f4 commit 985d15d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/Slider/Header/Header.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { render, screen } from "@testing-library/react";

import Header from "./Header";
import React from "react";
import { useTranslation } from "react-i18next";

const headerProps = {
label: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Viewer/Media/Media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface MediaProps {
}

const Media: React.FC<MediaProps> = ({ items }) => {
const { t } = useTranslation(["viewer"]);
const { t } = useTranslation();
const dispatch: any = useViewerDispatch();
const state: ViewerContextStore = useViewerState();
const { activeCanvas, vault } = state;
Expand Down

0 comments on commit 985d15d

Please sign in to comment.