Skip to content
Snippets Groups Projects
Commit 5f5eb60c authored by Jorik Schellekens's avatar Jorik Schellekens
Browse files

Cleanup, and ally stuff

parent 74b79092
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,6 @@ const LinkPreview: React.FC<IProps> = ({ link }: IProps) => { ...@@ -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 = (
......
...@@ -32,7 +32,7 @@ const StyledCheckbox: React.FC<IProps> = ({ ...@@ -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>
......
...@@ -28,7 +28,7 @@ const Toggle: React.FC<IProps> = ({ children, ...props }: IProps) => ( ...@@ -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>
); );
......
...@@ -68,8 +68,6 @@ export const INITIAL_STATE: State = { ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment