diff --git a/web/src/components/UserProfile/UserProfile.js b/web/src/components/UserProfile/UserProfile.js index 6267ac2..944203a 100644 --- a/web/src/components/UserProfile/UserProfile.js +++ b/web/src/components/UserProfile/UserProfile.js @@ -2,12 +2,12 @@ import { useState, useEffect } from 'react' import { useAuth } from '@redwoodjs/auth' import { navigate, routes } from '@redwoodjs/router' import Editor from 'rich-markdown-editor' - import ImageUploader from 'src/components/ImageUploader' import Button from 'src/components/Button' import ProfileTextInput from 'src/components/ProfileTextInput' +import PartsCell from 'src/components/PartsCell' -const UserProfile = ({ user, isEditable, loading, onSave, error }) => { +const UserProfile = ({ user, isEditable, loading, onSave, error, parts }) => { const { currentUser } = useAuth() const canEdit = currentUser?.sub === user.id useEffect(() => { @@ -91,6 +91,10 @@ const UserProfile = ({ user, isEditable, loading, onSave, error }) => { /> +
+

Parts:

+ +
)