From 6a0feefef9306349e66eb448b2c4cbd070739aab Mon Sep 17 00:00:00 2001 From: KshitijThareja Date: Sat, 11 Nov 2023 00:29:08 +0530 Subject: [PATCH] Change imports from useKResponsiveWindow composable --- .../setup_wizard/assets/src/views/OnboardingStepBase.vue | 4 ++-- .../setup_wizard/assets/src/views/SetupWizardIndex.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kolibri/plugins/setup_wizard/assets/src/views/OnboardingStepBase.vue b/kolibri/plugins/setup_wizard/assets/src/views/OnboardingStepBase.vue index cc67876f67c..6ceac57f775 100644 --- a/kolibri/plugins/setup_wizard/assets/src/views/OnboardingStepBase.vue +++ b/kolibri/plugins/setup_wizard/assets/src/views/OnboardingStepBase.vue @@ -154,8 +154,8 @@ inject: ['wizardService'], mixins: [commonCoreStrings], setup() { - const { windowIsSmall, windowIsPortrait } = useKResponsiveWindow(); - return { windowIsSmall, windowIsPortrait }; + const { windowIsSmall } = useKResponsiveWindow(); + return { windowIsSmall }; }, props: { /** diff --git a/kolibri/plugins/setup_wizard/assets/src/views/SetupWizardIndex.vue b/kolibri/plugins/setup_wizard/assets/src/views/SetupWizardIndex.vue index ccd7fdff063..a0935d0c458 100644 --- a/kolibri/plugins/setup_wizard/assets/src/views/SetupWizardIndex.vue +++ b/kolibri/plugins/setup_wizard/assets/src/views/SetupWizardIndex.vue @@ -48,8 +48,8 @@ }, mixins: [commonCoreStrings], setup() { - const { windowIsSmall, windowIsPortrait } = useKResponsiveWindow(); - return { windowIsSmall, windowIsPortrait }; + const { windowIsLarge } = useKResponsiveWindow(); + return { windowIsLarge }; }, data() { return {