fix(admin): use type-only import for ComponentType in adminRoutes.tsx
Some checks failed
Deploy Canina / deploy (push) Failing after 28s
Some checks failed
Deploy Canina / deploy (push) Failing after 28s
This commit is contained in:
parent
eaa2621a17
commit
27abaa3e05
@ -1,4 +1,5 @@
|
||||
import { lazy, ComponentType } from 'react';
|
||||
import { lazy } from 'react';
|
||||
import type { ComponentType } from 'react';
|
||||
import { createBrowserRouter, Navigate } from 'react-router-dom';
|
||||
import Layout from '../components/Layout';
|
||||
import ProtectedRoute from '../components/ProtectedRoute';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user