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 hses = useHSs(link);
console.log(hses);
if (!hses) {
content = (

View file

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

View file

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

View file

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