👌 fixed warnings on MobileSketchView and MobilePreferences

This commit is contained in:
ghalestrilo 2020-07-01 17:37:32 -03:00
parent 82ec5207cb
commit 58d8fc18d5
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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';