Skip to content

Commit

Permalink
correct some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Afonso-santos committed Oct 16, 2023
1 parent 9b12d79 commit d5757b9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/ui/components/landing/Header/NavBar/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useState } from "react";
import Link from "next/link";
import { Grid, Space } from "antd";
import { Grid } from "antd";

import { DownOutlined, DashboardOutlined, LogoutOutlined } from "@ant-design/icons";
import { DashboardOutlined, LogoutOutlined } from "@ant-design/icons";

import { ThemeToggle, useAuth } from "@coderdojobraga/ui";
import MobileNavBar from "../MobileNavBar/MobileNavBar";
Expand All @@ -12,8 +12,6 @@ import { getUserInitials } from "../utils";

import styles from "./style.module.css";

import { Fragment } from 'react'
import { Transition, Menu } from '@headlessui/react'
import { ChevronDownIcon } from '@heroicons/react/20/solid'


Expand Down Expand Up @@ -140,6 +138,9 @@ function NavBar({ landing = true }: any) {
<LoginButton isLoading={isLoading} />
)
}
<li>
<ThemeToggle visible={!landing} />
</li>
</ul >
);
}
Expand Down

0 comments on commit d5757b9

Please sign in to comment.