diff --git a/rsconcept/frontend/src/components/wrap/DataLoader.tsx b/rsconcept/frontend/src/components/wrap/DataLoader.tsx index 3c96b6c1..365181f0 100644 --- a/rsconcept/frontend/src/components/wrap/DataLoader.tsx +++ b/rsconcept/frontend/src/components/wrap/DataLoader.tsx @@ -17,15 +17,15 @@ interface DataLoaderProps extends CProps.AnimatedDiv { function DataLoader({ id, isLoading, hasNoData, error, children, ...restProps }: DataLoaderProps) { return ( - - {isLoading ? : null} - {error ? : null} + {children} - + Данные не загружены + {isLoading ? : null} + {error ? : null} ); }