Decouple shlink-web-component from NotFound component

This commit is contained in:
Alejandro Celaya
2023-07-31 20:52:08 +02:00
parent c73a592fd1
commit 5ec5396da6
4 changed files with 19 additions and 13 deletions

View File

@@ -2,10 +2,10 @@ import classNames from 'classnames';
import type { FC } from 'react';
import { useEffect } from 'react';
import { Route, Routes, useLocation } from 'react-router-dom';
import type { Settings } from '../../shlink-web-component';
import { AppUpdateBanner } from '../common/AppUpdateBanner';
import { NotFound } from '../common/NotFound';
import type { ServersMap } from '../servers/data';
import type { Settings } from '../settings/reducers/settings';
import { forceUpdate } from '../utils/helpers/sw';
import { changeThemeInMarkup } from '../utils/theme';
import './App.scss';