Skip to content

Commit

Permalink
chore: ajoute displayName manquant dans des composants
Browse files Browse the repository at this point in the history
  • Loading branch information
ocruze committed Oct 10, 2023
1 parent 92a143f commit fbc3dfe
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { FC } from "react";
import { Pyramid, StoredDataStatuses } from "../../../../types/app";
import { fr } from "@codegouvfr/react-dsfr";
import Button from "@codegouvfr/react-dsfr/Button";
import { FC } from "react";
import { symToStr } from "tsafe/symToStr";

import MenuList from "../../../../components/Utils/MenuList";
import StoredDataStatusBadge from "../../../../components/Utils/StoredDataStatusBadge";
import functions from "../../../../functions";
import Button from "@codegouvfr/react-dsfr/Button";
import { routes } from "../../../../router/router";
import { Pyramid, StoredDataStatuses } from "../../../../types/app";

type PyramidListProps = {
datastoreId: string;
Expand Down Expand Up @@ -66,4 +68,6 @@ const PyramidList: FC<PyramidListProps> = ({ datastoreId, pyramidList }) => {
);
};

PyramidList.displayName = symToStr({ PyramidList });

export default PyramidList;
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ import RadioButtons from "@codegouvfr/react-dsfr/RadioButtons";
import { useQuery } from "@tanstack/react-query";
import { FC, useEffect, useState } from "react";
import { createPortal } from "react-dom";
import { symToStr } from "tsafe/symToStr";

import api from "../../../../api";
import MenuList from "../../../../components/Utils/MenuList";
import StoredDataStatusBadge from "../../../../components/Utils/StoredDataStatusBadge";
import functions from "../../../../functions";
import RQKeys from "../../../../modules/RQKeys";
import { routes } from "../../../../router/router";
import { DatastoreEndpoint, StoredDataStatuses, type VectorDb } from "../../../../types/app";
import StoredDataStatusBadge from "../../../../components/Utils/StoredDataStatusBadge";

type ServiceTypes = "tms" | "wfs" | "wms-vector" | "pre-paquet";

Expand Down Expand Up @@ -223,4 +224,6 @@ const VectorDbList: FC<VectorDbListProps> = ({ datastoreId, vectorDbList }) => {
);
};

VectorDbList.displayName = symToStr({ VectorDbList });

export default VectorDbList;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.10",
"react-hook-form": "^7.45.1",
"tsafe": "^1.6.5",
"type-route": "^1.0.1",
"uuid": "^9.0.0",
"yup": "^1.2.0"
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1177,12 +1177,7 @@
dependencies:
eslint-visitor-keys "^3.3.0"

"@eslint-community/regexpp@^4.5.1":
version "4.9.0"
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.9.0.tgz#7ccb5f58703fa61ffdcbf39e2c604a109e781162"
integrity sha512-zJmuCWj2VLBt4c25CfBIbMZLGLyhkvs7LznyVX5HfpzeocThgIj5XQK4L+g3U36mMcx8bPMhGyPpwCATamC4jQ==

"@eslint-community/regexpp@^4.6.1":
"@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1":
version "4.9.0"
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.9.0.tgz#7ccb5f58703fa61ffdcbf39e2c604a109e781162"
integrity sha512-zJmuCWj2VLBt4c25CfBIbMZLGLyhkvs7LznyVX5HfpzeocThgIj5XQK4L+g3U36mMcx8bPMhGyPpwCATamC4jQ==
Expand Down Expand Up @@ -8083,6 +8078,11 @@ tsafe@^1.6.3:
resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.6.4.tgz#048a114761714538c72f16abd25bb247d4e3780e"
integrity sha512-l4Z54QFGHO8GF0gBpb3yPGHjkIkIirl8rwW+lMBmtEMzOJeRs8BdjkDEx6nU8Ak9PQVp/KNDtECxTja8MMIDoA==

tsafe@^1.6.5:
version "1.6.5"
resolved "https://registry.yarnpkg.com/tsafe/-/tsafe-1.6.5.tgz#74943b69190069168a53d2accd6d07891cf1cce8"
integrity sha512-895zss8xqqHKTc28sHGIfZKnt3C5jrstB1DyPr/h3/flK0zojsZUMQL1/W4ytdDW6KI4Oth62nb9rrxmA3s3Iw==

tslib@^2.1.0:
version "2.6.2"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
Expand Down

0 comments on commit fbc3dfe

Please sign in to comment.