Skip to content

Commit 5c3787c

Browse files
committed
remove more unused mocks
1 parent 105045a commit 5c3787c

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed
Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
'use strict';
22

3-
export const useTranslations = () => {
4-
const t = key => key;
5-
6-
t.rich = key => key;
7-
t.markup = key => key;
8-
9-
return t;
10-
};
3+
export const useTranslations = () => key => key;
114

125
export const useFormatter = () => {
136
const formatter = format => new Intl.DateTimeFormat('en-US', format);
@@ -20,7 +13,4 @@ export const useFormatter = () => {
2013

2114
export const createNavigation = () => ({
2215
Link: props => <a {...props} onClick={e => e.preventDefault()} />,
23-
redirect: () => void null,
24-
usePathname: () => '',
25-
useRouter: () => ({ push: () => void null, replace: () => void null }),
2616
});

0 commit comments

Comments
 (0)