Skip to content

Commit

Permalink
add testError
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatyana-js committed Feb 6, 2025
1 parent e4ed963 commit b0d15de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/init.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ const init = async () => {
accessToken: '45c668d145bf4e379844b7f78319daf0',
environment: 'production',
};
const TestError = () => {
const element = null;
element.map(el => el);
};

filter.add(filter.getDictionary('en'));
filter.add(filter.getDictionary('ru'));
Expand All @@ -76,6 +80,7 @@ const init = async () => {
<ErrorBoundary>
<Provider store={store}>
<StrictMode>
<TestError />
<App />
<ToastContainer />
</StrictMode>
Expand Down

0 comments on commit b0d15de

Please sign in to comment.