diff --git a/packages/plugins/packages/location-point-map/src/meta/index.ts b/packages/plugins/packages/location-point-map/src/meta/index.ts index 25aec4777b..2de910afd9 100644 --- a/packages/plugins/packages/location-point-map/src/meta/index.ts +++ b/packages/plugins/packages/location-point-map/src/meta/index.ts @@ -5,7 +5,7 @@ import type { PayloadRenderPluginBase } from '@xyo-network/react-payload-plugin' const validSchemas: Set = new Set([LocationSchema, GeographicCoordinateSystemLocationSchema]) const PointMapRenderPluginMeta: PayloadRenderPluginBase = { - canRender: (payload?: Payload) => !(payload && validSchemas.has(payload.schema)), + canRender: (payload?: Payload) => !!(payload && validSchemas.has(payload.schema)), name: 'Point Map', }