Skip to content

Commit

Permalink
fix: modal for users Ergo will invisible.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry committed Jun 5, 2024
1 parent b247cd3 commit e2b2763
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ApplicationRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ export const ApplicationRoutes: FC = () => {

useEffect(() => {
const hasSeenInformModal = localStorageManager.get('hasSeenInformModal');
const network = localStorageManager.get('spectrum-selected-network-key');

if (!hasSeenInformModal) {
if (!hasSeenInformModal && network !== 'ergo') {
const timer = setTimeout(() => {
openPreSplashModal();
localStorageManager.set('hasSeenInformModal', true);
Expand Down

0 comments on commit e2b2763

Please sign in to comment.