tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
oops, check if pubData exists
awarm.space
10 months ago
8bafe666
561af444
+1
-1
1 changed file
expand all
collapse all
unified
split
components
utils
UpdateLeafletTitle.tsx
+1
-1
components/utils/UpdateLeafletTitle.tsx
···
25
25
let firstBlock = blocks[0];
26
26
let title = usePageTitle(entityID);
27
27
useEffect(() => {
28
28
-
if (pubData[0].title) {
28
28
+
if (pubData?.[0]?.title) {
29
29
document.title = pubData[0].title;
30
30
}
31
31
if (title) {