Skip to content

Commit

Permalink
fix: 修复示例中网格size初始化参数不一致的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangeSuger authored and boyongjiong committed Oct 19, 2024
1 parent cbcfbe7 commit f0db526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/feature-examples/src/pages/grid/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function SelectionSelectExample() {
const lfRef = useRef<LogicFlow>()
const [gridVisible, setGridVisible] = useState(true)
const [gridType, setGridType] = useState<'dot' | 'mesh'>('dot')
const [gridSize, setGridSize] = useState(10)
const [gridSize, setGridSize] = useState(20)
const containerRef = useRef<HTMLDivElement>(null)

// 初始化 LogicFlow
Expand Down

0 comments on commit f0db526

Please sign in to comment.