mirror of
https://github.com/patdelphi/suanming.git
synced 2026-03-11 19:04:42 +08:00
fix: Fix TypeScript build error in HistoryPage
- Changed ChineseButton variant from 'default' to 'primary' to match component interface - Build now passes successfully - Updated dist assets
This commit is contained in:
@@ -374,7 +374,7 @@ const HistoryPage: React.FC = () => {
|
||||
return (
|
||||
<ChineseButton
|
||||
key={page}
|
||||
variant={currentPage === page ? "default" : "outline"}
|
||||
variant={currentPage === page ? "primary" : "outline"}
|
||||
size="sm"
|
||||
onClick={() => handlePageChange(page)}
|
||||
className={cn(
|
||||
|
||||
Reference in New Issue
Block a user