Feat(ToolRepository): Add favorite tool list

Add favorite tool list to user tool repository
This commit is contained in:
2024-04-28 15:24:23 +08:00
parent 497fb28b5d
commit aa96359f46
7 changed files with 260 additions and 103 deletions

View File

@@ -206,7 +206,8 @@ const User = () => {
toolName={firstTool!.name}
toolId={firstTool!.toolId}
toolDesc={firstTool!.description}
authorUsername={firstTool!.author.username}
author={firstTool!.author}
showAuthor={false}
ver={firstTool!.ver}
platform={firstTool!.platform}
supportPlatform={tools.map((value) => value.platform)}