👌 fixed warnings on MobileSketchView and MobilePreferences
This commit is contained in:
parent
82ec5207cb
commit
58d8fc18d5
2 changed files with 5 additions and 2 deletions
|
@ -55,7 +55,11 @@ const MobilePreferences = (props) => {
|
||||||
value: 'dark', label: 'dark', ariaLabel: 'dark theme on', name: 'dark theme', id: 'dark-theme-on'
|
value: 'dark', label: 'dark', ariaLabel: 'dark theme on', name: 'dark theme', id: 'dark-theme-on'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'contrast', label: 'contrast', ariaLabel: 'contrast theme on', name: 'contrast theme', id: 'contrast-theme-on'
|
value: 'contrast',
|
||||||
|
label: 'contrast',
|
||||||
|
ariaLabel: 'contrast theme on',
|
||||||
|
name: 'contrast theme',
|
||||||
|
id: 'contrast-theme-on'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
onSelect: x => setTheme(x) // setTheme
|
onSelect: x => setTheme(x) // setTheme
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Link } from 'react-router';
|
|
||||||
import { bindActionCreators } from 'redux';
|
import { bindActionCreators } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
Loading…
Reference in a new issue