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
29
pulls
pipelines
return if setting pub title
awarm.space
7 months ago
17e98116
47ebfbad
+1
1 changed file
expand all
collapse all
unified
split
components
utils
UpdateLeafletTitle.tsx
+1
components/utils/UpdateLeafletTitle.tsx
···
27
useEffect(() => {
28
if (pub?.title) {
29
document.title = pub.title;
0
30
}
31
if (title) {
32
document.title = title;
···
27
useEffect(() => {
28
if (pub?.title) {
29
document.title = pub.title;
30
+
return;
31
}
32
if (title) {
33
document.title = title;