Cleanup, and ally stuff
This commit is contained in:
parent
74b790927e
commit
5f5eb60c02
4 changed files with 2 additions and 5 deletions
|
@ -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 = (
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue