fix: /getting-started/connected-calendar Toggle the first calendar on (#9028)
* [CAL-115] /getting-started/connected-calendar Toggle the first calendar on * Fix lint error * Fix error shown after completion of onboarding by connecting to calendars and playing around with toggle * Fix type errors * Fix first calendar selected even in all the screens wherever connectedCalendars is used
This commit is contained in:
1 parent
64796a96fc
commit
7f7d80e653
4 files changed
+90
-5
No files matched your search
@@ -15,7 +15,7 @@ interface IConnectCalendarsProps {
|
||||
|
||||
const ConnectedCalendars = (props: IConnectCalendarsProps) => {
|
||||
const { nextStep } = props;
|
||||
const queryConnectedCalendars = trpc.viewer.connectedCalendars.useQuery();
|
||||
const queryConnectedCalendars = trpc.viewer.connectedCalendars.useQuery({ onboarding: true });
|
||||
const { t } = useLocale();
|
||||
const queryIntegrations = trpc.viewer.integrations.useQuery({ variant: "calendar", onlyInstalled: false });
|
||||
|
||||
|
||||
Reference in new issue
Block a user