fix: ai translations description for atoms (#17875)
* remove ai translations description for atoms * PR feedback * fixup --------- Co-authored-by: Benny Joo <sldisek783@gmail.com> Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
This commit is contained in:
5 files changed
+30
-22
No files matched your search
@@ -181,6 +181,11 @@ export const BookerWebWrapper = (props: BookerWebWrapperAtomProps) => {
|
||||
theme: event.data?.profile.theme,
|
||||
});
|
||||
|
||||
const areInstantMeetingParametersSet = !!event.data?.instantMeetingParameters
|
||||
? searchParams &&
|
||||
event.data.instantMeetingParameters.every((param) => Array.from(searchParams.values()).includes(param))
|
||||
: true;
|
||||
|
||||
return (
|
||||
<BookerComponent
|
||||
{...props}
|
||||
@@ -219,6 +224,8 @@ export const BookerWebWrapper = (props: BookerWebWrapperAtomProps) => {
|
||||
schedule={schedule}
|
||||
verifyCode={verifyCode}
|
||||
isPlatform={false}
|
||||
areInstantMeetingParametersSet={areInstantMeetingParametersSet}
|
||||
userLocale={session?.user.locale}
|
||||
/>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user