mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 05:36:00 +02:00
Change TS import baseUrl
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/* eslint-disable sort-keys-fix/sort-keys-fix */
|
||||
import { Routes, Route } from 'react-router-dom';
|
||||
import { LoginRoute } from 'renderer/features/auth';
|
||||
import { DashboardRoute } from 'renderer/features/dashboard';
|
||||
import { LibraryAlbumsRoute } from 'renderer/features/library/routes/LibraryAlbumsRoute';
|
||||
import { LibraryArtistsRoute } from 'renderer/features/library/routes/LibraryArtistsRoute';
|
||||
import { LibraryRoute } from 'renderer/features/library/routes/LibraryRoute';
|
||||
import { ServersRoute } from 'renderer/features/servers';
|
||||
import { LoginRoute } from '../features/auth';
|
||||
import { DashboardRoute } from '../features/dashboard';
|
||||
import { LibraryAlbumsRoute } from '../features/library/routes/LibraryAlbumsRoute';
|
||||
import { LibraryArtistsRoute } from '../features/library/routes/LibraryArtistsRoute';
|
||||
import { LibraryRoute } from '../features/library/routes/LibraryRoute';
|
||||
import { ServersRoute } from '../features/servers';
|
||||
import { AuthLayout, DefaultLayout } from '../layouts';
|
||||
import { AuthOutlet } from './outlets/AuthOutlet';
|
||||
import { PrivateOutlet } from './outlets/PrivateOutlet';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Navigate, Outlet, useLocation } from 'react-router-dom';
|
||||
import { useAuthStore } from 'renderer/store';
|
||||
import { useAuthStore } from '../../store';
|
||||
|
||||
interface AuthOutletProps {
|
||||
redirectTo: string;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Navigate, Outlet, useLocation } from 'react-router-dom';
|
||||
import { useAuthStore } from 'renderer/store';
|
||||
import { useAuthStore } from '../../store';
|
||||
|
||||
interface PrivateOutletProps {
|
||||
redirectTo: string;
|
||||
|
||||
Reference in New Issue
Block a user