diff --git a/react/AppLinker/index.jsx b/react/AppLinker/index.jsx index 9ba3a52ad..de1346b19 100644 --- a/react/AppLinker/index.jsx +++ b/react/AppLinker/index.jsx @@ -15,12 +15,12 @@ import { export class AppLinker extends React.Component { static contextType = WebviewContext - state = {} + state = { + imgRef: null + } constructor(props) { super(props) - - this.imgRef = null } setImgRef = img => {