Skip to content

Commit 2453b38

Browse files
authored
Merge pull request #128 from oslabs-beta/user0824/feat/dashboard
User0824/feat/dashboard
2 parents 1f97a84 + 45fa3d9 commit 2453b38

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

client/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Header from './components/Header';
1111
import { SignedIn, SignedOut, useClerk } from '@clerk/clerk-react';
1212
import { Routes, Route } from 'react-router-dom';
1313
import { ClusterProvider } from './contexts/ClusterContext';
14-
import { IconMoon, IconSun, IconLogout } from '@tabler/icons-react';
14+
import { IconMoon, IconSun } from '@tabler/icons-react';
1515

1616
const App = () => {
1717
const { signOut } = useClerk();
@@ -56,7 +56,7 @@ const App = () => {
5656
window.location.href = '/';
5757
})
5858
}
59-
className="duration-800 text-muted-foreground flex h-10 w-10 items-center justify-center rounded-full font-semibold shadow-sm transition-all transition-colors hover:text-red-700 hover:shadow-lg"
59+
className="duration-800 text-muted-foreground flex h-10 w-10 items-center justify-center rounded-full font-semibold shadow-sm transition-colors hover:text-red-700 hover:shadow-lg"
6060
title="Sign Out"
6161
>
6262
LOGOUT

client/src/components/NavigationBar.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import React, { useRef, useState } from 'react';
55
import { cn } from '@/lib/utils';
66
import {
77
IconLayoutNavbarCollapse,
8-
IconLogout,
98
IconSettings,
109
IconUser,
1110
IconHome,
@@ -20,14 +19,14 @@ import {
2019
useTransform,
2120
MotionValue,
2221
} from 'motion/react';
23-
import { useClerk, UserProfile } from '@clerk/clerk-react';
22+
import { UserProfile } from '@clerk/clerk-react';
2423
import { Link } from 'react-router-dom';
2524
import { ServerIcon } from 'lucide-react';
2625
import ClusterSelector from './ClusterSelector';
2726
import Orb from './ui/orb';
2827

2928
const NavigationBar: React.FC = () => {
30-
const { signOut } = useClerk();
29+
// const { signOut } = useClerk();
3130
const [isProfileModalOpen, setIsProfileModalOpen] = useState(false);
3231
const [isClusterModalOpen, setIsClusterModalOpen] = useState(false);
3332

0 commit comments

Comments
 (0)