Skip to content

Commit

Permalink
refactor: Improve readability by moving imgRef in state
Browse files Browse the repository at this point in the history
  • Loading branch information
zatteo committed Jan 8, 2025
1 parent 60977b4 commit 3c676d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions react/AppLinker/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 3c676d9

Please sign in to comment.