File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Plan/react/dashboard/src/components/extensions Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import ColoredText from "../text/ColoredText";
1111import { Link } from "react-router" ;
1212import FormattedTime from "../text/FormattedTime.jsx" ;
1313import FormattedDate from "../text/FormattedDate.jsx" ;
14+ import { useTranslation } from "react-i18next" ;
1415
1516export const ExtensionCardWrapper = ( { extension, children} ) => {
1617 const [ windowWidth , setWindowWidth ] = useState ( window . innerWidth ) ;
@@ -88,6 +89,7 @@ export const ExtensionValueTableCell = ({data}) => {
8889}
8990
9091const ExtensionValue = ( { data} ) => {
92+ const { t} = useTranslation ( ) ;
9193 const color = data . description . icon . colorClass ;
9294 const colorClass = color ?. startsWith ( "col-" ) ? color : "col-" + color ;
9395 const icon = [ data . description . icon . familyClass , data . description . icon . iconName ] ;
You can’t perform that action at this time.
0 commit comments