fix(admin): use type-only import for ComponentType in adminRoutes.tsx
Some checks failed
Deploy Canina / deploy (push) Failing after 28s

This commit is contained in:
پارسا آقایی 2026-08-06 22:05:21 +03:30
parent eaa2621a17
commit 27abaa3e05

View File

@ -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';