From 23ca544247984e9e93045f756b187c3aab8742fa Mon Sep 17 00:00:00 2001 From: Rinsvent Date: Wed, 18 Jan 2023 21:42:58 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=8D=D0=BA=D1=81=D0=BF=D0=BE=D1=80=D1=82=20=D0=B2=20?= =?UTF-8?q?html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/elements/processes/index.tsx | 4 ++-- package.json | 4 +++- yarn.lock | 5 +++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/components/elements/processes/index.tsx b/components/elements/processes/index.tsx index c457b3c..e80f4e0 100644 --- a/components/elements/processes/index.tsx +++ b/components/elements/processes/index.tsx @@ -68,8 +68,8 @@ export default function Processes() { } refreshLock = true let response = await fetch('http://fmw.sipachev.sv/system-monitoring/processes?' + new URLSearchParams({ - page: page + 1, - limit: 20, + page: (page + 1) + '', + limit: 20 + '', }), { method: 'GET', diff --git a/package.json b/package.json index 8062849..628ae81 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "export": "next build && next export" }, "dependencies": { "@emotion/react": "^11.10.5", @@ -19,6 +20,7 @@ "@types/node": "18.11.15", "@types/react": "18.0.26", "@types/react-dom": "18.0.9", + "@types/uuid": "^9.0.0", "autoprefixer": "^10.4.13", "css-loader": "^6.7.3", "eslint": "8.29.0", diff --git a/yarn.lock b/yarn.lock index 9a4a6a7..7a5d94a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -628,6 +628,11 @@ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39" integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew== +"@types/uuid@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.0.tgz#53ef263e5239728b56096b0a869595135b7952d2" + integrity sha512-kr90f+ERiQtKWMz5rP32ltJ/BtULDI5RVO0uavn1HQUOwjx0R1h0rnDYNL0CepF1zL5bSY6FISAfd9tOdDhU5Q== + "@typescript-eslint/parser@^5.42.0": version "5.46.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.46.1.tgz#1fc8e7102c1141eb64276c3b89d70da8c0ba5699"