Skip to content

Commit

Permalink
feat: add link to welcome page in header
Browse files Browse the repository at this point in the history
  • Loading branch information
Quiddlee committed Dec 31, 2023
1 parent 5b2c4b9 commit ac33511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from 'react';

import { useLocation, useNavigate } from 'react-router-dom';
import { Link, useLocation, useNavigate } from 'react-router-dom';

import useLanguage from '@/shared/Context/hooks';
import Icon from '@/shared/ui/Icon';
Expand Down Expand Up @@ -43,7 +43,7 @@ const Header = () => {
}}
className="ml-[53px] mr-auto font-readex_pro sm:ml-7 lg:ml-4"
>
GraphiQL
<Link to={ROUTES.WELCOME_PAGE}>GraphiQL</Link>
</h1>
)}
<IconButton
Expand Down

0 comments on commit ac33511

Please sign in to comment.