diff --git a/src/ui/atoms/loader/example.tsx b/src/ui/atoms/loader/example.tsx index d664eed8..76269881 100644 --- a/src/ui/atoms/loader/example.tsx +++ b/src/ui/atoms/loader/example.tsx @@ -57,13 +57,13 @@ export const ExampleDataFetching = () => { } return ( - + <> {data.map(({ id, name }) => ( ))} - + > ); }; diff --git a/src/ui/atoms/loader/usage.mdx b/src/ui/atoms/loader/usage.mdx index 45a5002d..c199b685 100644 --- a/src/ui/atoms/loader/usage.mdx +++ b/src/ui/atoms/loader/usage.mdx @@ -18,14 +18,14 @@ Use a `Loader` component whenever the wait time is anticipated to be longer than !i}> {(value, change) => ( - + <> {value ? ( Some action in progress...} /> ) : null} - + > )}