This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function remove(array, element) { | |
return array.filter(e => e !== element); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import ReactDom from 'react-dom' | |
import classNames from 'classnames' | |
import Qreader from '../components/login/Qreader' | |
class Login extends React.Component { | |
constructor () { | |
super() | |
this.state = { | |
logged: false | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import classNames from 'classnames' | |
import QrReader from 'react-qr-reader' | |
class Qreader extends React.Component { | |
constructor () { | |
super() | |
this.state = { | |
result: false | |
} | |
} |