We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123c266 commit 9e879c0Copy full SHA for 9e879c0
src/context/DiagramContext.jsx
@@ -29,7 +29,7 @@ export default function DiagramContextProvider({ children }) {
29
...prev,
30
{
31
id,
32
- name: `table_${prev.length}`,
+ name: `table_${id}`,
33
x: transform.pan.x,
34
y: transform.pan.y,
35
locked: false,
0 commit comments