Skip to content

Commit

Permalink
Add state types
Browse files Browse the repository at this point in the history
  • Loading branch information
neuodev committed Jan 26, 2022
1 parent 8fb8def commit 6252723
Showing 1 changed file with 5 additions and 4 deletions.
Expand Up @@ -5,14 +5,15 @@ import styles from './DappConnectorNavbar.scss'
import type { Node } from 'react';
import classnames from 'classnames';

type Props = {|

type Props = {||}
type State = {|
hasPermission: boolean,
|}

@observer
export default class DappConnectorNavbar extends Component<Props> {
export default class DappConnectorNavbar extends Component<Props, State> {

state = {
state: State = {
hasPermission: false,
}

Expand Down

0 comments on commit 6252723

Please sign in to comment.