Revert "Feat/customizable links"

This commit is contained in:
Daniel
2024-08-18 14:46:52 -04:00
committed by GitHub
parent ee2319996b
commit 9a3e82470a
28 changed files with 326 additions and 976 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export default function UploadFileModal({ onClose }: Props) {
useEffect(() => {
setOptionsExpanded(false);
if (router.pathname.startsWith("/collections/") && router.query.id) {
if (router.query.id) {
const currentCollection = collections.find(
(e) => e.id == Number(router.query.id)
);