added language change query
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { useState, useEffect } from "react";
|
||||
|
||||
function getWindowDimensions() {
|
||||
const { width: width, height: height } = window.visualViewport;
|
||||
const width = window.innerWidth;
|
||||
const height = window.innerHeight
|
||||
return {
|
||||
width,
|
||||
height,
|
||||
|
||||
Reference in New Issue
Block a user