Skip to content

Commit 7a0e31a

Browse files
chore: error nesting button (onlook-dev#1790)
1 parent dd383db commit 7a0e31a

File tree

1 file changed

+2
-2
lines changed
  • apps/studio/src/routes/editor/LayersPanel/ZoomControls

1 file changed

+2
-2
lines changed

apps/studio/src/routes/editor/LayersPanel/ZoomControls/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const ZoomControls = observer(() => {
7474
};
7575

7676
return (
77-
<button className="w-16 h-10 rounded-xl text-small flex flex-col items-center justify-center gap-1.5 text-foreground hover:text-muted-foreground">
77+
<div className="w-16 h-10 rounded-xl text-small flex flex-col items-center justify-center gap-1.5 text-foreground hover:text-muted-foreground">
7878
<Popover open={isDropdownOpen} onOpenChange={setIsDropdownOpen}>
7979
<Tooltip>
8080
<TooltipTrigger asChild>
@@ -139,7 +139,7 @@ const ZoomControls = observer(() => {
139139
</button>
140140
</PopoverContent>
141141
</Popover>
142-
</button>
142+
</div>
143143
);
144144
});
145145
export default ZoomControls;

0 commit comments

Comments
 (0)