Skip to content

Commit

Permalink
Merge pull request #11414 from ShivangRawat30/11329
Browse files Browse the repository at this point in the history
Replaced KResponsiveWindow to useKResponsiveWindow
  • Loading branch information
LianaHarris360 authored Oct 19, 2023
2 parents 8450b14 + e4c4285 commit c1b39b7
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
import JSZip from 'jszip';
import client from 'kolibri.client';
import urls from 'kolibri.urls';
import responsiveWindowMixin from 'kolibri.coreVue.mixins.responsiveWindowMixin';
import useKResponsiveWindow from 'kolibri-design-system/lib/useKResponsiveWindow';
import scriptLoader from 'kolibri-common/utils/scriptLoader';
import perseus from '../../dist/perseus';
import icu from '../KAGlobals/icu';
Expand Down Expand Up @@ -125,7 +125,12 @@
export default {
name: 'PerseusRendererIndex',
mixins: [responsiveWindowMixin],
setup() {
const { windowBreakpoint } = useKResponsiveWindow();
return {
windowBreakpoint,
};
},
data: () => ({
// Is the perseus item renderer loading?
loading: true,
Expand Down

0 comments on commit c1b39b7

Please sign in to comment.