Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: fixed lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-phantom committed Aug 20, 2023
1 parent bd9b2f9 commit 12dd719
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/PrimaryNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const PrimaryNav = (): JSX.Element => {
<div className="flex md:hidden w-5 h-5">
<GiHamburgerMenu size={24} />
</div>

<div className="hidden md:flex pl-4 border-l border-lightOrange">
<div className="w-8 h-8 overflow-hidden rounded-full border-osOrange border">
<img
Expand All @@ -77,7 +78,7 @@ const PrimaryNav = (): JSX.Element => {
/>
</div>
</div>

</Menu.Button>


Expand Down Expand Up @@ -119,7 +120,7 @@ const PrimaryNav = (): JSX.Element => {
{({ active }) => (
<button
className={`${active ? "bg-gray-100 text-gray-700" : "text-gray-900"
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
>
{`v${version}`}
</button>
Expand All @@ -130,7 +131,7 @@ const PrimaryNav = (): JSX.Element => {
{({ active }) => (
<button
className={`${active ? "bg-gray-100 text-gray-700" : "text-gray-900"
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
onClick={() => handleFormOpen(true)}
>
Submit a repository
Expand All @@ -142,7 +143,7 @@ const PrimaryNav = (): JSX.Element => {
{({ active }) => (
<button
className={`${active ? "bg-gray-100 text-gray-700" : "text-gray-900"
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
onClick={() => console.log("Token: ", currentUser?.access_token)}
>
Print auth token
Expand All @@ -157,7 +158,7 @@ const PrimaryNav = (): JSX.Element => {
rel="noreferrer"
target="_blank"
className={`${active ? "bg-gray-100 text-gray-700" : "text-gray-900"
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
>
Report a bug
</a>
Expand All @@ -168,7 +169,7 @@ const PrimaryNav = (): JSX.Element => {
{({ active }) => (
<button
className={`${active ? "bg-gray-100 text-gray-700" : "text-gray-900"
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
} group flex w-full items-center rounded-md px-5 py-1.5 text-sm`}
onClick={async () => signOut()}
>
Logout
Expand Down

0 comments on commit 12dd719

Please sign in to comment.