diff --git a/react-components/src/common/i18n/index.tsx b/react-components/src/common/i18n/index.tsx index 41918fd3cbd..0dfe64a7e13 100644 --- a/react-components/src/common/i18n/index.tsx +++ b/react-components/src/common/i18n/index.tsx @@ -12,4 +12,4 @@ export const translations = { export type TranslationKeys = keyof typeof en; export const useTranslation = (): ReturnType> => - useTypedTranslation(); + useTypedTranslation('reveal-react-components'); diff --git a/react-components/src/components/RevealToolbar/RevealToolbar.tsx b/react-components/src/components/RevealToolbar/RevealToolbar.tsx index c51441e2594..75c453edb8d 100644 --- a/react-components/src/components/RevealToolbar/RevealToolbar.tsx +++ b/react-components/src/components/RevealToolbar/RevealToolbar.tsx @@ -59,7 +59,7 @@ const RevealToolbarContainer = ( props = { ...props, ...defaultStyle }; } return ( - + {props.toolBarContent ?? } );