Refactor auth logic.

This commit is contained in:
Mike Cao committed 2022-10-11 21:48:33 -07:00
1 parent edd1751b81
commit 5e2d23f18f
10 files changed
+40 -30

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ export default function WebsiteSettings() {
);
const DetailsLink = ({ id, name, domain }) => (
<Link className={styles.detailLink} href="/website/[...id]" as={`/website/${id}/${name}`}>
<Link className={styles.detailLink} href="/websites/[...id]" as={`/websites/${id}/${name}`}>
<Favicon domain={domain} />
<OverflowText tooltipId={`${id}-name`}>{name}</OverflowText>
</Link>