fix: booker platform atom multi duration selector (#17419)

This commit is contained in:
Morgan authored and GitHub committed 2024-10-31 13:14:58 +00:00
1 parent e728ed74ce
commit 120cfed8a1
2 files changed
+5 -2

No files matched your search

@@ -126,7 +126,10 @@ export const BookerPlatformWrapper = (
return "";
}, [props.username]);
setSelectedDuration(props.duration ?? null);
useEffect(() => {
setSelectedDuration(props.duration ?? null);
}, [props.duration]);
setOrg(props.entity?.orgSlug ?? null);
const isDynamic = useMemo(() => {