Skip to content

Commit e381e1a

Browse files
author
waleed
committed
ack PR comments
1 parent 552194a commit e381e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/components/emcn/components/popover/popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const Popover: React.FC<PopoverProps> = ({ children, variant = 'default', ...pro
139139
(id: string, title: string, onLoad?: () => void | Promise<void>, onSelect?: () => void) => {
140140
setCurrentFolder(id)
141141
setFolderTitle(title)
142-
setOnFolderSelect(() => onSelect || null)
142+
setOnFolderSelect(onSelect ?? null)
143143
if (onLoad) {
144144
void Promise.resolve(onLoad())
145145
}

0 commit comments

Comments
 (0)