Skip to content

Commit 3466e90

Browse files
committed
refactor: rename to WorkspaceOutdatedTooltipProps
1 parent ded8411 commit 3466e90

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

site/src/modules/workspaces/WorkspaceOutdatedTooltip/WorkspaceOutdatedTooltip.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ import {
2323
WorkspaceUpdateDialogs,
2424
} from "../WorkspaceUpdateDialogs";
2525

26-
interface TooltipProps {
26+
interface WorkspaceOutdatedTooltipProps {
2727
workspace: Workspace;
2828
}
2929

30-
export const WorkspaceOutdatedTooltip: FC<TooltipProps> = (props) => {
30+
export const WorkspaceOutdatedTooltip: FC<WorkspaceOutdatedTooltipProps> = (
31+
props,
32+
) => {
3133
const [isOpen, setIsOpen] = useState(false);
3234

3335
return (
@@ -41,7 +43,7 @@ export const WorkspaceOutdatedTooltip: FC<TooltipProps> = (props) => {
4143
);
4244
};
4345

44-
type TooltipContentProps = TooltipProps & { isOpen: boolean };
46+
type TooltipContentProps = WorkspaceOutdatedTooltipProps & { isOpen: boolean };
4547

4648
const WorkspaceOutdatedTooltipContent: FC<TooltipContentProps> = ({
4749
workspace,

0 commit comments

Comments
 (0)