mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
1.7.2 WIP
This commit is contained in:
@@ -49,7 +49,7 @@ export class ToolsPanel extends React.Component<PanelProps, PanelState> {
|
||||
|
||||
constructor(props: PanelProps) {
|
||||
super(props);
|
||||
const react = props.view.ownerWindow.React;
|
||||
const react = props.view.plugin.getPackage(props.view.ownerWindow).react;
|
||||
this.containerRef = react.createRef();
|
||||
this.state = {
|
||||
visible: props.visible,
|
||||
|
||||
Reference in New Issue
Block a user