This commit is contained in:
@@ -10,18 +10,6 @@ import { Toaster as Sonner } from 'sonner';
|
||||
import { TooltipProvider } from '@/components/ui/tooltip';
|
||||
import './styles/index.css';
|
||||
|
||||
const headLinks = [
|
||||
{ rel: 'icon', type: 'image/svg+xml', href: '/static/favicon.svg' },
|
||||
{ rel: 'icon', type: 'image/png', sizes: '96x96', href: '/static/favicon-96x96.png' },
|
||||
{ rel: 'apple-touch-icon', href: '/static/apple-touch-icon.png' },
|
||||
{ rel: 'manifest', href: '/static/site.webmanifest' },
|
||||
];
|
||||
|
||||
for (const attrs of headLinks) {
|
||||
const link = document.createElement('link');
|
||||
for (const [key, value] of Object.entries(attrs)) link.setAttribute(key, value);
|
||||
document.head.appendChild(link);
|
||||
}
|
||||
|
||||
const queryClient = new QueryClient({
|
||||
defaultOptions: {
|
||||
|
||||
Reference in New Issue
Block a user