fix(core): update
This commit is contained in:
		| @@ -7,7 +7,7 @@ export const phone = 340; | |||||||
|  |  | ||||||
| export type TViewport = 'native' | 'desktop' | 'tablet' | 'phablet' | 'phone'; | export type TViewport = 'native' | 'desktop' | 'tablet' | 'phablet' | 'phone'; | ||||||
|  |  | ||||||
| export const getEnvironment = async (): Promise<TViewport> => { | export const getEnvironment = (): TViewport => { | ||||||
|   if (globalThis.deesDomTools && globalThis.deesDomTools.domToolsStatePart.getState().virtualViewport) { |   if (globalThis.deesDomTools && globalThis.deesDomTools.domToolsStatePart.getState().virtualViewport) { | ||||||
|     return globalThis.deesDomTools.domToolsStatePart.getState().virtualViewport; |     return globalThis.deesDomTools.domToolsStatePart.getState().virtualViewport; | ||||||
|   } else { |   } else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user