feat(18-05): add public profile page and setup visibility toggle
- Create public profile page at /users/$userId with avatar, name, bio, setups - Create PublicSetupCard component for profile page setup listing - Add isPublic toggle button on setup detail page - Add Public badge to SetupCard in list view - Update useSetups hook with isPublic field on interfaces
This commit is contained in:
@@ -100,6 +100,7 @@ export function SetupsView() {
|
||||
key={setup.id}
|
||||
id={setup.id}
|
||||
name={setup.name}
|
||||
isPublic={setup.isPublic}
|
||||
itemCount={setup.itemCount}
|
||||
totalWeight={setup.totalWeight}
|
||||
totalCost={setup.totalCost}
|
||||
|
||||
Reference in New Issue
Block a user