Skip to content
Snippets Groups Projects
Commit c5e1848e authored by Anthony's avatar Anthony
Browse files

WIP try to fix test in mirador

parent af02784f
No related branches found
No related tags found
2 merge requests!11Fix forward ref from Canvas Annotation Wrapper to CanvasAnnotation,!10Draft: MigratingAnnotationCreation to MUI5.
......@@ -23,6 +23,8 @@
"test:ci": "jest --ci --reporters=default --reporters=jest-junit --watchAll=false"
},
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/system": "^5.15.1",
"@psychobolt/react-paperjs": "^1.0.3",
"@psychobolt/react-paperjs-editor": "0.0.11",
......
import React, { Component } from 'react';
import React, { Component, createRef } from 'react';
import PropTypes from 'prop-types';
import DeleteIcon from '@mui/icons-material/DeleteForever';
import EditIcon from '@mui/icons-material/Edit';
......
......@@ -37,7 +37,7 @@ class CanvasAnnotationsWrapper extends Component {
const props = {
...targetProps,
listContainerComponent: CanvasListItem,
}
};
return (
<AnnotationActionsContext.Provider
......@@ -54,7 +54,7 @@ class CanvasAnnotationsWrapper extends Component {
}}
>
<TargetComponent
{...props} // eslint-disable-line react/jsx-props-no-spreading
{...props}
/>
{windowViewType !== 'single' && (
<SingleCanvasDialog
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment