Skip to content

Commit

Permalink
feat(adviser): network issues text (#1336)
Browse files Browse the repository at this point in the history
  • Loading branch information
happylolonly authored Oct 17, 2024
1 parent 1554c48 commit 4857bd5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/containers/application/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect } from 'react';
import { useEffect, useMemo } from 'react';
import { Link, Outlet, matchPath, useLocation } from 'react-router-dom';

import { initPocket } from 'src/redux/features/pocket';
Expand Down Expand Up @@ -67,7 +67,17 @@ function App() {
// }, [communityLoaded, community, dispatch]);

useAdviserTexts({
defaultText: 'indexer is in sync now, some data may be not fully available',
defaultText: useMemo(() => {
return (
<div>
There are network issues 😔, part of functionality is currently
disabled
<br />
<Link to={routes.social.path}>check socials</Link> for more info
</div>
);
// 'indexer is in sync now, some data may be not fully available'
}, []),
});

useEffect(() => {
Expand Down

0 comments on commit 4857bd5

Please sign in to comment.