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:
authored and GitHub committed 2024-12-02 19:27:54 +00:00
1 parent 2e7a5a84a6
commit fe209df2be
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}
/>
);
};