From cf456c761c09a8d059a2cce5b8e6a5c7ee5aa63f Mon Sep 17 00:00:00 2001 From: Matchu Date: Fri, 18 Jun 2021 17:43:43 -0700 Subject: [PATCH] Remove stray code for not-in-a-list I'm not actually sure we're gonna support pulling these out into pages? I might just have them be straggly dangling old less-optimized :p --- src/app/UserItemsPage.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/UserItemsPage.js b/src/app/UserItemsPage.js index 037efc5..208935c 100644 --- a/src/app/UserItemsPage.js +++ b/src/app/UserItemsPage.js @@ -651,9 +651,7 @@ function buildClosetListPath(closetList) { ); } - const idString = closetList.isDefaultList ? "not-in-a-list" : closetList.id; - - return `/user/${closetList.creator.id}/lists/${ownsOrWants}/${idString}`; + return `/user/${closetList.creator.id}/lists/${ownsOrWants}/${closetList.id}`; } function UserSupportMenu({ children, user }) {