Skip to content

Commit

Permalink
fix: revert unwanted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eudiwtech committed Jan 15, 2025
1 parent e49c92f commit a8ab76b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ts/components/markdown/renderRules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export const DEFAULT_RULES: IOMarkdownRenderRules = {
Link(link: TxtLinkNode, render: Renderer) {
const handleOpenLink = () => {
openWebUrl(link.url, () => {
IOToast.error(i18next.t('global:errors.generic.title'));
IOToast.error(i18next.t('errors.generic.title', {ns: 'global'}));
});
};

Expand Down
7 changes: 3 additions & 4 deletions ts/navigation/RootStacknavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ export const RootStackNavigator = () => {
const {themeType} = useIOThemeContext();
const dispatch = useAppDispatch();

const Loading = () => {
const t = i18next.t;
return <LoadingScreenContent contentTitle={t('generics.waiting')} />;
};
const Loading = () => (
<LoadingScreenContent contentTitle={i18next.t('generics.waiting')} />
);

const GenericError = () => {
const title = "There's an issue with our systems";
Expand Down

0 comments on commit a8ab76b

Please sign in to comment.