chore: codes

This commit is contained in:
oiov
2024-07-29 11:43:10 +08:00
parent a57416c6e1
commit c2dd1320f5
2 changed files with 6 additions and 6 deletions

View File

@@ -101,9 +101,9 @@ export default function UserRecordsList({ user }: RecordListProps) {
disabled={isLoading}
>
{isLoading ? (
<RefreshCwIcon className="h-4 w-4 animate-spin" />
<RefreshCwIcon className="size-4 animate-spin" />
) : (
<RefreshCwIcon className="h-4 w-4" />
<RefreshCwIcon className="size-4" />
)}
</Button>
<Button
@@ -195,7 +195,7 @@ export default function UserRecordsList({ user }: RecordListProps) {
}}
>
<p>Edit</p>
<PenLine className="ml-1 h-4 w-4" />
<PenLine className="ml-1 size-4" />
</Button>
</TableCell>
</TableRow>

View File

@@ -95,9 +95,9 @@ export default function UserUrlsList({ user }: UrlListProps) {
disabled={isLoading}
>
{isLoading ? (
<RefreshCwIcon className="h-4 w-4 animate-spin" />
<RefreshCwIcon className="size-4 animate-spin" />
) : (
<RefreshCwIcon className="h-4 w-4" />
<RefreshCwIcon className="size-4" />
)}
</Button>
<Button
@@ -199,7 +199,7 @@ export default function UserUrlsList({ user }: UrlListProps) {
}}
>
<p>Edit</p>
<PenLine className="ml-1 h-4 w-4" />
<PenLine className="ml-1 size-4" />
</Button>
</TableCell>
</TableRow>