remove console logs
This commit is contained in:
parent
49f6a2685c
commit
8333ca091d
2 changed files with 0 additions and 4 deletions
|
@ -116,8 +116,6 @@ const RankingIcon = () => {
|
||||||
const ActiveLink = (props: { href: string; children: React.ReactNode }) => {
|
const ActiveLink = (props: { href: string; children: React.ReactNode }) => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
let styling = "text-white";
|
let styling = "text-white";
|
||||||
console.log(router.pathname);
|
|
||||||
console.log(props.href);
|
|
||||||
if (router.pathname === props.href) {
|
if (router.pathname === props.href) {
|
||||||
styling = "text-[#a855f7]";
|
styling = "text-[#a855f7]";
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,8 +37,6 @@ const Home: NextPageWithLayout = () => {
|
||||||
setEmotes(emoteUrls);
|
setEmotes(emoteUrls);
|
||||||
setCurrentEmote(Math.floor(Math.random() * emoteUrls.length));
|
setCurrentEmote(Math.floor(Math.random() * emoteUrls.length));
|
||||||
});
|
});
|
||||||
console.log(currentEmote);
|
|
||||||
|
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue