Skip to content

Commit 9f9e74b

Browse files
authored
Fix hydration error (#2179)
* Remove unused hook * The Impersonation button was causing DOM hydration issues
1 parent ea6f66b commit 9f9e74b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

apps/webapp/app/components/ImpersonationBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function ImpersonationBanner() {
99
<Form action="/resources/impersonation" method="delete" reloadDocument>
1010
<TooltipProvider disableHoverableContent={true}>
1111
<Tooltip>
12-
<TooltipTrigger>
12+
<TooltipTrigger asChild>
1313
<Button
1414
type="submit"
1515
variant="small-menu-item"

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,6 @@ function SelectorDivider() {
584584
}
585585

586586
function HelpAndAI() {
587-
const features = useFeatures();
588-
589587
return (
590588
<>
591589
<ShortcutsAutoOpen />

0 commit comments

Comments
 (0)