mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-10 07:38:04 -05:00
tweak(platform): Updated onOpenChange code style (#8187)
This commit is contained in:
@@ -77,11 +77,7 @@ export const BlocksControl: React.FC<BlocksControlProps> = ({
|
||||
return (
|
||||
<Popover
|
||||
open={pinBlocksPopover ? true : undefined}
|
||||
onOpenChange={(open) => {
|
||||
if (!open) {
|
||||
resetFilters();
|
||||
}
|
||||
}}
|
||||
onOpenChange={(open) => open || resetFilters()}
|
||||
>
|
||||
<Tooltip delayDuration={500}>
|
||||
<TooltipTrigger asChild>
|
||||
|
||||
Reference in New Issue
Block a user