This commit is contained in:
Max Lynch
2021-01-05 16:32:10 -06:00
parent c4fc3367ba
commit 6a14c1c47a
4 changed files with 1 additions and 14 deletions
-6
View File
@@ -4,12 +4,6 @@ import { Link } from 'wouter';
import { useEffect, useState } from 'react';
const Tab = ({ title, href, icon, selected, selectedIcon, onClick }) => {
console.log('TAB', href, selected);
const [update, setUpdate] = useState(false);
useEffect(() => {
setUpdate(true);
}, [selected]);
return (
<Link href={href}>
<a