Skip to content

Commit acdf843

Browse files
committed
šŸ› fix: simplify imports and standardize href formatting in Navbar component
1 parent 735a5bb commit acdf843

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ā€Žweb/src/app/navbar/Navbar.tsxā€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22
import Logo from '@/assets/Logo';
33

4-
import React, { useState } from 'react';
4+
import { useState } from 'react';
55
import { useTranslation } from 'react-i18next';
66
import About from './About';
77
import Community from './Community';
@@ -39,7 +39,7 @@ const NavbarMenu = () => {
3939
/>
4040
<a
4141
className={`inline-flex items-center gap-x-1 text-sm font-semibold leading-6 text-neutral-900 focus:outline-none dark:text-neutral-100 ${'hover:text-indigo-600 dark:hover:text-indigo-500'}`}
42-
href='https://docs.sciol.ac.cn'
42+
href="https://docs.sciol.ac.cn"
4343
>
4444
<span>{t('navbar.tutorial')}</span>
4545
</a>

0 commit comments

Comments
Ā (0)