Skip to content

Commit 98a9ad2

Browse files
longsizhuoCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent eeb5659 commit 98a9ad2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/u/[username]/error.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function ProfileError({
5353
<div className="flex flex-wrap gap-3 pt-2">
5454
<button
5555
type="button"
56-
onClick={() => reset()}
56+
onClick={reset}
5757
className="font-mono text-xs uppercase tracking-widest px-4 py-2 border border-[var(--foreground)] bg-[var(--foreground)] text-[var(--background)] hover:bg-[#CC0000] hover:border-[#CC0000] transition-colors"
5858
>
5959
重试

0 commit comments

Comments
 (0)