Removed routes and header component of api keys

This commit is contained in:
Lucas Oliveira 2024-06-04 19:16:01 -03:00
commit e3ed6ef09d
2 changed files with 0 additions and 20 deletions

View file

@ -181,18 +181,6 @@ export default function Header(): JSX.Element {
/> />
</div> </div>
</AlertDropdown> </AlertDropdown>
{autoLogin && (
<button
onClick={() => {
navigate("/account/api-keys");
}}
>
<IconComponent
name="Key"
className="side-bar-button-size text-muted-foreground hover:text-accent-foreground"
/>
</button>
)}
<> <>
<Separator orientation="vertical" /> <Separator orientation="vertical" />

View file

@ -190,14 +190,6 @@ const Router = () => {
</ProtectedRoute> </ProtectedRoute>
} }
></Route> ></Route>
<Route
path="api-keys"
element={
<ProtectedRoute>
<ApiKeysPage />
</ProtectedRoute>
}
></Route>
</Route> </Route>
</Routes> </Routes>
</Suspense> </Suspense>