fix: correct V13 and public presentation patterns in isolated QA
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { publicReference } from '@/lib/public-presentation';
|
||||
import { useState } from 'react';
|
||||
import { api, button, card } from './shared';
|
||||
|
||||
@@ -81,7 +82,7 @@ export default function ZoneMap({ id }: { id: string }) {
|
||||
<g key={f.id}>
|
||||
<title>
|
||||
{f.properties.purpose} ·{' '}
|
||||
{f.properties.source}
|
||||
{publicReference(f.properties.source)}
|
||||
</title>
|
||||
{rings(f.geometry.coordinates).map((ring, i) =>
|
||||
ring.length === 1 ? (
|
||||
@@ -113,7 +114,7 @@ export default function ZoneMap({ id }: { id: string }) {
|
||||
{features.map((f) => (
|
||||
<li key={f.id}>
|
||||
{f.properties.purpose} · Fonte:{' '}
|
||||
{f.properties.source} · Data:{' '}
|
||||
{publicReference(f.properties.source)} · Data:{' '}
|
||||
{f.properties.observed_at}
|
||||
</li>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user