tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
a tool for shared writing and social publishing
284
fork
atom
overview
issues
27
pulls
pipelines
Merge branch 'main' into feature/publish-leaflets
awarm.space
2 months ago
656f7bf2
49e6bca4
+2
-2
2 changed files
expand all
collapse all
unified
split
app
(home-pages)
notifications
NotificationList.tsx
components
Blocks
TextBlock
RenderYJSFragment.tsx
+1
-1
app/(home-pages)/notifications/NotificationList.tsx
···
23
23
}, 500);
24
24
}, []);
25
25
26
26
-
if (notifications.length !== 0)
26
26
+
if (notifications.length === 0)
27
27
return (
28
28
<div className="w-full text-sm flex flex-col gap-1 container italic text-tertiary text-center sm:p-4 p-3">
29
29
<div className="text-base font-bold">no notifications yet...</div>
+1
-1
components/Blocks/TextBlock/RenderYJSFragment.tsx
···
27
27
return (
28
28
<BlockWrapper wrapper={wrapper} attrs={attrs}>
29
29
{children.length === 0 ? (
30
30
-
<div />
30
30
+
<br />
31
31
) : (
32
32
node.toArray().map((node, index) => {
33
33
if (node.constructor === XmlText) {