Merge branch 'dev' into fixes

This commit is contained in:
Isaac Wise
2024-08-18 13:21:02 -05:00
committed by GitHub
32 changed files with 956 additions and 302 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export default function NewLinkModal({ onClose }: Props) {
};
useEffect(() => {
if (router.query.id) {
if (router.pathname.startsWith("/collections/") && router.query.id) {
const currentCollection = collections.find(
(e) => e.id == Number(router.query.id)
);