diff --git a/packages/bot-web-ui/src/components/dashboard/dashboard-component/load-bot-preview/google-drive.tsx b/packages/bot-web-ui/src/components/dashboard/dashboard-component/load-bot-preview/google-drive.tsx index 3539d2e26623..672ae2b017e1 100644 --- a/packages/bot-web-ui/src/components/dashboard/dashboard-component/load-bot-preview/google-drive.tsx +++ b/packages/bot-web-ui/src/components/dashboard/dashboard-component/load-bot-preview/google-drive.tsx @@ -7,9 +7,10 @@ import { Localize, localize } from '@deriv/translations'; import { useDBotStore } from 'Stores/useDBotStore'; const GoogleDrive = observer(() => { - const { google_drive, load_modal } = useDBotStore(); + const { google_drive, load_modal, dashboard } = useDBotStore(); const { is_authorised } = google_drive; const { is_open_button_loading, onDriveConnect, onDriveOpen } = load_modal; + const { setOpenSettings } = dashboard; return (