fixes after merge
This commit is contained in:
parent
6b5021c50f
commit
689c0ad67c
@ -1,3 +1,4 @@
|
||||
// @ts-nocheck конфликт типов jest и cypress
|
||||
import axios from "axios";
|
||||
|
||||
const message = "Artem";
|
||||
|
||||
@ -157,7 +157,7 @@ export default function CreateTariff() {
|
||||
<MenuItem
|
||||
data-cy={`select-option-${privilege.description}`}
|
||||
key={privilege.description}
|
||||
value={privilege.id}
|
||||
value={privilege._id}
|
||||
>
|
||||
{privilege.description}
|
||||
</MenuItem>
|
||||
|
||||
@ -29,6 +29,7 @@ import { getRoles_mock, TMockData } from "../../../api/roles";
|
||||
import theme from "../../../theme";
|
||||
|
||||
import type { UserType } from "../../../api/roles";
|
||||
import { makeRequest } from "@frontend/kitui";
|
||||
|
||||
type RegisteredUsersResponse = {
|
||||
tatalPages: number;
|
||||
|
||||
@ -2,9 +2,9 @@ import { useState, useEffect } from "react";
|
||||
import { useParams } from "react-router-dom";
|
||||
import { Box, Typography, TextField, Button } from "@mui/material";
|
||||
|
||||
import { authStore } from "@root/stores/auth";
|
||||
|
||||
import type { ChangeEvent } from "react";
|
||||
import { makeRequest } from "@frontend/kitui";
|
||||
|
||||
type File = {
|
||||
name: "inn" | "rule" | "egrule" | "certificate";
|
||||
@ -34,7 +34,6 @@ export const VerificationTab = () => {
|
||||
const [user, setUser] = useState<Verification | null>(null);
|
||||
const [comment, setComment] = useState<string>("");
|
||||
const { userId } = useParams();
|
||||
const { makeRequest } = authStore();
|
||||
|
||||
const requestVefification = async () =>
|
||||
makeRequest<never, Verification>({
|
||||
|
||||
16
yarn.lock
16
yarn.lock
@ -1433,6 +1433,14 @@
|
||||
lodash.isundefined "^3.0.1"
|
||||
lodash.uniq "^4.5.0"
|
||||
|
||||
"@frontend/kitui@^1.0.17":
|
||||
version "1.0.17"
|
||||
resolved "https://penahub.gitlab.yandexcloud.net/api/v4/projects/21/packages/npm/@frontend/kitui/-/@frontend/kitui-1.0.17.tgz#a5bddaaa18b168be0e1814d5cfbd86e4030d15af"
|
||||
integrity sha1-pb3aqhixaL4OGBTVz72G5AMNFa8=
|
||||
dependencies:
|
||||
immer "^10.0.2"
|
||||
reconnecting-eventsource "^1.6.2"
|
||||
|
||||
"@hapi/hoek@^9.0.0":
|
||||
version "9.3.0"
|
||||
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
|
||||
@ -3542,10 +3550,10 @@ axios@^0.27.2:
|
||||
follow-redirects "^1.14.9"
|
||||
form-data "^4.0.0"
|
||||
|
||||
axios@^1.3.4:
|
||||
version "1.3.4"
|
||||
resolved "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz"
|
||||
integrity sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==
|
||||
axios@^1.4.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/axios/-/axios-1.4.0.tgz#38a7bf1224cd308de271146038b551d725f0be1f"
|
||||
integrity sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==
|
||||
dependencies:
|
||||
follow-redirects "^1.15.0"
|
||||
form-data "^4.0.0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user