Skip to content

Commit

Permalink
Remove unused network configuration hook and clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Dec 5, 2024
1 parent 44e090b commit 1915478
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
3 changes: 0 additions & 3 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ import './assets/css/sentry.css';
import './assets/css/Toast.css';
import './insights';
import { runMigrations } from './hooks/utils/cache/runMigrations';
import { useSetNetworkConfig } from './providers/NetworkConfig/NetworkConfigProvider';
import { useNetworkConfigStore } from './providers/NetworkConfig/useNetworkConfigStore';
import Providers from './providers/Providers';
import { router } from './router';

function DecentRouterProvider() {
useSetNetworkConfig();

const { addressPrefix } = useNetworkConfigStore();
const urlParams = new URLSearchParams(window.location.search);
const addressWithPrefix = urlParams.get('dao');
Expand Down
19 changes: 0 additions & 19 deletions src/providers/NetworkConfig/NetworkConfigProvider.tsx

This file was deleted.

0 comments on commit 1915478

Please sign in to comment.