mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
fix build
This commit is contained in:
parent
81667dd4ff
commit
0c5375c73e
@ -179,7 +179,7 @@ export function UtopiaMapInner({
|
||||
document.title = `${document.title.split('-')[0]} - ${title}`
|
||||
document
|
||||
.querySelector('meta[property="og:title"]')
|
||||
?.setAttribute('content', ref.item.name)
|
||||
?.setAttribute('content', ref.item.name ?? '')
|
||||
document
|
||||
.querySelector('meta[property="og:description"]')
|
||||
?.setAttribute('content', ref.item.text ?? '')
|
||||
|
||||
@ -105,7 +105,7 @@ export function ActionButton({
|
||||
.filter((item) => {
|
||||
return search === ''
|
||||
? item
|
||||
: item.name.toLowerCase().includes(search.toLowerCase())
|
||||
: item.name?.toLowerCase().includes(search.toLowerCase())
|
||||
})
|
||||
.map((i) => (
|
||||
<div
|
||||
|
||||
@ -35,7 +35,7 @@ export const GroupSubHeaderView = ({
|
||||
? shareBaseUrl + item.slug
|
||||
: window.location.protocol + '//' + window.location.host + '/item/' + item.id
|
||||
}
|
||||
title={item.name}
|
||||
title={item.name ?? ''}
|
||||
platforms={platforms}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user