feat: refactor code structure

This commit is contained in:
Steven
2023-02-23 08:22:06 +08:00
parent f77a84a649
commit 0fbbcae872
36 changed files with 768 additions and 936 deletions

View File

@@ -59,7 +59,7 @@ const ShortcutListView: React.FC<Props> = (props: Props) => {
<span className="text-gray-400 text-sm ml-2">({shortcut.description})</span>
</div>
<div className="flex flex-row justify-end items-center">
<span className="w-16 truncate mr-2 text-gray-600">{shortcut.creator.name}</span>
<span className="w-16 truncate mr-2 text-gray-600">{shortcut.creator.displayName}</span>
<Tooltip title="Copy link" variant="solid" placement="top">
<button
className="cursor-pointer mr-4 hover:opacity-80"