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 @@ - - - + - - - + @@ -148,7 +144,7 @@ - + 1660418841831 @@ -339,7 +335,15 @@ 1673976828238 - + + + 1713463473768 + + + + 1713463473768 + + @@ -357,7 +361,6 @@ - @@ -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.isAdmin && ' (admin)'} {sponsor.publicMessage} @@ -34,6 +34,20 @@ export default function Sponsors() { ))} + ) : +} + +function LoadingIcon({ size }) { + return ( + + + + + + ) }
{sponsor.publicMessage}