tangled
alpha
login
or
join now
danabra.mov
/
statusphere-react
forked from
samuel.fm/statusphere-react
0
fork
atom
the statusphere demo reworked into a vite/react app in a monorepo
0
fork
atom
overview
issues
pulls
pipelines
format
samuel.fm
1 year ago
d41e1013
052613b9
+3
-2
1 changed file
expand all
collapse all
unified
split
packages
client
src
components
StatusList.tsx
+3
-2
packages/client/src/components/StatusList.tsx
···
24
24
25
25
// Destructure data
26
26
const statuses = data?.statuses || []
27
27
-
27
27
+
28
28
// Get a random emoji from the STATUS_OPTIONS array
29
29
-
const randomEmoji = STATUS_OPTIONS[Math.floor(Math.random() * STATUS_OPTIONS.length)]
29
29
+
const randomEmoji =
30
30
+
STATUS_OPTIONS[Math.floor(Math.random() * STATUS_OPTIONS.length)]
30
31
31
32
if (isPending && !data) {
32
33
return (