diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5640dda1d..68efe4631 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,13 +4,9 @@ - @@ -382,7 +385,8 @@ - diff --git a/src/components/Sponsors/index.js b/src/components/Sponsors/index.js index 58ff11e2f..f53fdd26d 100644 --- a/src/components/Sponsors/index.js +++ b/src/components/Sponsors/index.js @@ -21,12 +21,12 @@ export default function Sponsors() { } asyncFunction() }, []) - return ( + return sponsors.data ? (
{sponsors.data?.account?.contributors?.nodes.filter(sp => sp.totalAmountDonated > 0).map((sponsor, index) => (
- {sponsor.name} + {sponsor.name}/

{sponsor.name}{sponsor.isAdmin && ' (admin)'}

{sponsor.publicMessage}

@@ -34,6 +34,20 @@ export default function Sponsors() {
))}
+ ) : +} + +function LoadingIcon({ size }) { + return ( + + + + + + ) }