Skip to content
Snippets Groups Projects
Commit b5371397 authored by chris's avatar chris
Browse files

fix-key

parent 92962dc8
No related branches found
No related tags found
1 merge request!231Connect funcionality
......@@ -188,8 +188,7 @@ const TrackChangeOptionsComponent = ({ groups }) => {
const [isShownTrack, setIsShownTrack] = useState(false);
const menuItems = groups[0].items;
console.log(menuItems);
const { app, view, activeViewId } = useContext(WaxContext);
const { view } = useContext(WaxContext);
const inlineTracks = getInlineTracks(view.main).length;
const blockTracks = getTrackBlockNodes(view.main).length;
......
......@@ -24,6 +24,7 @@ class TrackCommentOptions extends ToolGroup {
if (isEmpty(view)) return null;
return (
<TrackChangeOptionsTool
key={uuidv4()}
view={view}
groups={this._toolGroups[0].groups.map(group => ({
// groupName: group.title.props.title,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment