mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove useTheme from <OAuth2AppsSettingsPageView /> (#27198)
This wasn't used, removing 🙂
This commit is contained in:
-2
@@ -1,4 +1,3 @@
|
||||
import { useTheme } from "@emotion/react";
|
||||
import { ChevronRightIcon, PlusIcon } from "lucide-react";
|
||||
import type { FC } from "react";
|
||||
import { Link, useNavigate } from "react-router";
|
||||
@@ -92,7 +91,6 @@ type OAuth2AppRowProps = {
|
||||
};
|
||||
|
||||
const OAuth2AppRow: FC<OAuth2AppRowProps> = ({ app }) => {
|
||||
const _theme = useTheme();
|
||||
const navigate = useNavigate();
|
||||
const clickableProps = useClickableTableRow({
|
||||
onClick: () => navigate(`/deployment/oauth2-provider/apps/${app.id}`),
|
||||
|
||||
Reference in New Issue
Block a user