added language change query

This commit is contained in:
DmitriyB
2023-03-20 18:46:15 +05:00
parent 61efa5611d
commit d494abf7ae
33 changed files with 3093 additions and 410 deletions
+2 -1
View File
@@ -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,