diff --git a/app/components/IconPicker.js b/app/components/IconPicker.js index 1c297b40..2b6b0940 100644 --- a/app/components/IconPicker.js +++ b/app/components/IconPicker.js @@ -145,8 +145,8 @@ function IconPicker({ onOpen, icon, color, onChange }: Props) { {(props) => ( - )} diff --git a/app/components/Sidebar/Sidebar.js b/app/components/Sidebar/Sidebar.js index afc6332b..1e2682ca 100644 --- a/app/components/Sidebar/Sidebar.js +++ b/app/components/Sidebar/Sidebar.js @@ -1,6 +1,7 @@ // @flow import { observer } from "mobx-react"; import * as React from "react"; +import { useTranslation } from "react-i18next"; import { Portal } from "react-portal"; import { withRouter } from "react-router-dom"; import type { Location } from "react-router-dom"; @@ -85,6 +86,7 @@ const useResize = ({ width, minWidth, maxWidth, setWidth }) => { function Sidebar({ location, children }: Props) { const theme = useTheme(); + const { t } = useTranslation(); const { ui } = useStores(); const previousLocation = usePrevious(location); @@ -157,7 +159,7 @@ function Sidebar({ location, children }: Props) { onDoubleClick={handleReset} $isResizing={isResizing} > - + )} diff --git a/app/components/Sidebar/components/CollapseToggle.js b/app/components/Sidebar/components/CollapseToggle.js index 60989a44..d7dd88a8 100644 --- a/app/components/Sidebar/components/CollapseToggle.js +++ b/app/components/Sidebar/components/CollapseToggle.js @@ -21,7 +21,7 @@ function CollapseToggle({ collapsed, ...rest }: Props) { delay={500} placement="bottom" > -