Skip to content

Commit 6f2bdfc

Browse files
committed
fix properties
1 parent 1e8bd80 commit 6f2bdfc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/extensions/react-flow/markers/ReactFlowMarkers.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface ReactFlowMarkerProps extends React.SVGProps<SVGMarkerElement> {
2828
const ReactFlowMarker = ({ className, appearance = "arrow-closed", intent, reverse }: ReactFlowMarkerProps) => {
2929
const markerDisplay: Record<ReactFlowMarkerAppearance, unknown> = {
3030
"arrow-closed": (
31-
<path d="M-5,-4 L5,0 L-5,4 Z" fill="currentColor" stroke-linecap="round" stroke-linejoin="round" />
31+
<path d="M-5,-4 L5,0 L-5,4 Z" fill="currentColor" strokeLinecap="round" strokeLinejoin="round" />
3232
),
3333
};
3434

@@ -59,11 +59,11 @@ const ReactFlowMarkers: FC = () => {
5959
<svg>
6060
<defs>
6161
<MarkerArrowClosedInverse />
62-
{intents.map((intent) => (
63-
<>
62+
{intents.map((intent, index) => (
63+
<React.Fragment key={index}>
6464
<ReactFlowMarker appearance="arrow-closed" intent={intent} />
6565
<ReactFlowMarker appearance="arrow-closed" intent={intent} reverse />
66-
</>
66+
</React.Fragment>
6767
))}
6868
</defs>
6969
</svg>

0 commit comments

Comments
 (0)