Cleanup, and ally stuff

This commit is contained in:
Jorik Schellekens 2020-09-13 17:43:22 +01:00
parent 74b790927e
commit 5f5eb60c02
4 changed files with 2 additions and 5 deletions

View File

@ -119,7 +119,6 @@ const LinkPreview: React.FC<IProps> = ({ link }: IProps) => {
const [showHSOptions, setShowHSOPtions] = useState(false); const [showHSOptions, setShowHSOPtions] = useState(false);
const hses = useHSs(link); const hses = useHSs(link);
console.log(hses);
if (!hses) { if (!hses) {
content = ( content = (

View File

@ -32,7 +32,7 @@ const StyledCheckbox: React.FC<IProps> = ({
<input {...otherProps} type="checkbox" /> <input {...otherProps} type="checkbox" />
{/* Using the div to center the image */} {/* Using the div to center the image */}
<div className="styledCheckboxWrapper"> <div className="styledCheckboxWrapper">
<img src={tick} /> <img src={tick} alt="" />
</div> </div>
{children} {children}
</label> </label>

View File

@ -28,7 +28,7 @@ const Toggle: React.FC<IProps> = ({ children, ...props }: IProps) => (
<label className="toggle"> <label className="toggle">
{children} {children}
<input type="checkbox" {...props} /> <input type="checkbox" {...props} />
<img src={chevron} /> <img src={chevron} alt="" />
</label> </label>
); );

View File

@ -68,8 +68,6 @@ export const INITIAL_STATE: State = {
}; };
export const unpersistedReducer = (state: State, action: Action): State => { export const unpersistedReducer = (state: State, action: Action): State => {
console.log('reducing');
console.log(action);
switch (action.action) { switch (action.action) {
case ActionType.SetAny: case ActionType.SetAny:
return { return {