aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/common/button/FlatButton.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-08-16 01:28:25 +0800
committercrupest <crupest@outlook.com>2023-08-16 01:28:25 +0800
commit5bfd097ce4f67278462cd9ec0f63d819f0231a09 (patch)
treedb43e62c2d6e031e14b5d59cce81ca101b02cb4d /FrontEnd/src/views/common/button/FlatButton.tsx
parentb541b8a2ac0f9588bb85bd52a6eef205ac47063b (diff)
downloadtimeline-5bfd097ce4f67278462cd9ec0f63d819f0231a09.tar.gz
timeline-5bfd097ce4f67278462cd9ec0f63d819f0231a09.tar.bz2
timeline-5bfd097ce4f67278462cd9ec0f63d819f0231a09.zip
...
Diffstat (limited to 'FrontEnd/src/views/common/button/FlatButton.tsx')
-rw-r--r--FrontEnd/src/views/common/button/FlatButton.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/src/views/common/button/FlatButton.tsx b/FrontEnd/src/views/common/button/FlatButton.tsx
index 15b21224..20ca7432 100644
--- a/FrontEnd/src/views/common/button/FlatButton.tsx
+++ b/FrontEnd/src/views/common/button/FlatButton.tsx
@@ -24,7 +24,7 @@ export default function FlatButton(props: FlatButtonProps) {
<button
ref={buttonRef}
className={classNames(
- color && `cru-${color}`,
+ `cru-button-${color ?? "primary"}`,
"cru-flat-button",
className,
)}