linguabot commited on
Commit
a78af8b
·
verified ·
1 Parent(s): 02f2d05

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. client/src/components/Layout.tsx +2 -11
client/src/components/Layout.tsx CHANGED
@@ -1,7 +1,7 @@
1
  import React, { useState, useEffect, useRef } from 'react';
2
  import { Link, useLocation } from 'react-router-dom';
3
  // We keep heroicons for fallback, but nav uses custom SVGs from /public/icons
4
- import { PowerIcon } from '@heroicons/react/24/outline';
5
  import HitokotoBar from './HitokotoBar';
6
  import { api } from '../services/api';
7
 
@@ -133,16 +133,7 @@ const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
133
  window.location.href = '/login';
134
  };
135
 
136
- // Use default heroicons for nav icons
137
- import {
138
- HomeIcon,
139
- AcademicCapIcon,
140
- BookOpenIcon,
141
- HandThumbUpIcon,
142
- WrenchScrewdriverIcon,
143
- ChatBubbleLeftRightIcon,
144
- Cog6ToothIcon
145
- } from '@heroicons/react/24/outline';
146
 
147
  let navigation = [
148
  { name: 'Home', href: '/dashboard', icon: HomeIcon },
 
1
  import React, { useState, useEffect, useRef } from 'react';
2
  import { Link, useLocation } from 'react-router-dom';
3
  // We keep heroicons for fallback, but nav uses custom SVGs from /public/icons
4
+ import { PowerIcon, HomeIcon, AcademicCapIcon, BookOpenIcon, HandThumbUpIcon, WrenchScrewdriverIcon, ChatBubbleLeftRightIcon, Cog6ToothIcon } from '@heroicons/react/24/outline';
5
  import HitokotoBar from './HitokotoBar';
6
  import { api } from '../services/api';
7
 
 
133
  window.location.href = '/login';
134
  };
135
 
136
+ // heroicons already imported at top
 
 
 
 
 
 
 
 
 
137
 
138
  let navigation = [
139
  { name: 'Home', href: '/dashboard', icon: HomeIcon },