diff --git a/src/client/src/components/App/app.scss b/src/client/src/components/App/app.scss
index d70abc0b..7afe1d63 100644
--- a/src/client/src/components/App/app.scss
+++ b/src/client/src/components/App/app.scss
@@ -95,6 +95,7 @@ a {
.sourceApi {
display: flex;
align-items: flex-end !important;
+ justify-content: center;
color: black;
span {
font-size: 0.5rem;
diff --git a/src/client/src/components/DataSheets/Sections/Enterprise/Infos/Finances/Finances.js b/src/client/src/components/DataSheets/Sections/Enterprise/Infos/Finances/Finances.js
index 75c10de6..e51b0e4d 100644
--- a/src/client/src/components/DataSheets/Sections/Enterprise/Infos/Finances/Finances.js
+++ b/src/client/src/components/DataSheets/Sections/Enterprise/Infos/Finances/Finances.js
@@ -116,7 +116,7 @@ const Finances = ({ siret, siren }) => {
datesApi = donneesEcofiApi?.map((donneeEcofi) => {
return (
@@ -126,7 +126,7 @@ const Finances = ({ siret, siren }) => {
caListApi = donneesEcofiApi?.map((donneeEcofi) => {
return (
|
{
} = useSidebarData(siren, {
limit: undefined,
});
+ if (loading || error) {
+ return null;
+ }
- const sharedData = { data: entreprise, error, loading };
+ const sharedData = { data: entreprise, error, isLoading: loading };
return (
-
- {children}
-
+
+
+ {children}
+
+
);
};
diff --git a/src/client/src/components/shared/Icons/BuildingIcon copy.jsx b/src/client/src/components/shared/Icons/BuildingIcon copy.jsx
deleted file mode 100644
index a0e2b842..00000000
--- a/src/client/src/components/shared/Icons/BuildingIcon copy.jsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import Proptypes from "prop-types";
-import React from "react";
-
-const BuildingIcon = ({ width = 24, height = 24, color = "#000091" }) => (
-
-);
-
-BuildingIcon.propTypes = {
- color: Proptypes.string,
- height: Proptypes.number,
- width: Proptypes.number,
-};
-
-export default BuildingIcon;
|