mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-05 13:52:40 +02:00
refactor: optimize connector status hook and update class name for deprecated status
- Refactored `useConnectorStatus` hook to utilize `useCallback` for improved performance. - Updated class name for the deprecated status badge to maintain consistency in styling.
This commit is contained in:
parent
9ddcd4f99b
commit
351f6eb23d
2 changed files with 28 additions and 17 deletions
|
|
@ -44,7 +44,7 @@ export const ConnectorStatusBadge: FC<ConnectorStatusBadgeProps> = ({
|
|||
case "deprecated":
|
||||
return {
|
||||
icon: AlertTriangle,
|
||||
className: "ext-slate-500 dark:text-slate-400",
|
||||
className: "text-slate-500 dark:text-slate-400",
|
||||
defaultTitle: "Deprecated",
|
||||
};
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue