Fix to close remainig popover after deleting table
This commit is contained in:
parent
d35461dbd3
commit
b788fd86dc
@ -104,6 +104,7 @@ export default function Table(props) {
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<Popover
|
<Popover
|
||||||
|
key={tableData.key}
|
||||||
content={
|
content={
|
||||||
<div className="popover-theme">
|
<div className="popover-theme">
|
||||||
<div className="mb-2">
|
<div className="mb-2">
|
||||||
|
@ -45,6 +45,7 @@ export default function TablesContextProvider({ children }) {
|
|||||||
comment: "",
|
comment: "",
|
||||||
indices: [],
|
indices: [],
|
||||||
color: defaultBlue,
|
color: defaultBlue,
|
||||||
|
key: Date.now(),
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user