fix(a11y): remove outdated ariaRoleDescription field
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { MouseEvent, useState } from 'react';
|
import { useState } from 'react';
|
||||||
import {
|
import {
|
||||||
ReactFlow,
|
ReactFlow,
|
||||||
MiniMap,
|
MiniMap,
|
||||||
@@ -34,7 +34,6 @@ const initialNodes: Node[] = [
|
|||||||
data: { label: 'Node 3' },
|
data: { label: 'Node 3' },
|
||||||
position: { x: 100, y: 100 },
|
position: { x: 100, y: 100 },
|
||||||
className: 'light',
|
className: 'light',
|
||||||
ariaRoleDescription: 'custom node role',
|
|
||||||
ariaRole: 'button',
|
ariaRole: 'button',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user