Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const React = require('react')
const h = require('react-hyperscript')
const withClickOutside = require('react-click-outside')
const TwitterPicker = require('react-color').TwitterPicker
const randomColor = require('randomcolor')
const DocumentTitle = require('react-document-title')
const BodyStyle = require('body-style')
const QRious = require('qrious')
const log = require('./log')
const graphql = require('./graphql')
const mergeColours = require('./helpers').mergeColours
const coloursfragment = require('./helpers').coloursfragment
const title = require('./helpers').title
const onLoggedStateChange = require('./auth').onLoggedStateChange
const UserAccount = React.createClass({
getInitialState () {
return {
me: null,