From d10509f84099515f62c895dcd736cc387e382bde Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Thu, 1 Jun 2023 13:05:00 -0400 Subject: [PATCH] fix: import paths The `win` utility was moved to the browser/ folder. --- core/src/components/modal/utils.ts | 2 +- core/src/components/select/select.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/components/modal/utils.ts b/core/src/components/modal/utils.ts index 5b39e12a24..90129839ae 100644 --- a/core/src/components/modal/utils.ts +++ b/core/src/components/modal/utils.ts @@ -1,5 +1,5 @@ +import { win } from '@utils/browser'; import { StatusBar, Style } from '@utils/native/status-bar'; -import { win } from '@utils/window'; /** * Use y = mx + b to diff --git a/core/src/components/select/select.tsx b/core/src/components/select/select.tsx index 0592e5f50f..1fb799146f 100644 --- a/core/src/components/select/select.tsx +++ b/core/src/components/select/select.tsx @@ -1,5 +1,6 @@ import type { ComponentInterface, EventEmitter } from '@stencil/core'; import { Component, Element, Event, Host, Method, Prop, State, Watch, h, forceUpdate } from '@stencil/core'; +import { win } from '@utils/browser'; import type { LegacyFormController } from '@utils/forms'; import { createLegacyFormController } from '@utils/forms'; import { findItemLabel, focusElement, getAriaLabel, renderHiddenInput, inheritAttributes, raf } from '@utils/helpers'; @@ -10,7 +11,6 @@ import type { OverlaySelect } from '@utils/overlays-interface'; import { isRTL } from '@utils/rtl'; import { createColorClasses, hostContext } from '@utils/theme'; import { watchForOptions } from '@utils/watch-options'; -import { win } from '@utils/window'; import { caretDownSharp, chevronExpand } from 'ionicons/icons'; import { getIonMode } from '../../global/ionic-global';