Browse Source

landing-blocks/src/Button: fix tsc error

master
remorses 7 months ago
parent
commit
cef68de976
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      landing-blocks/src/Button.tsx

+ 1
- 1
landing-blocks/src/Button.tsx View File

@ -37,7 +37,7 @@ export const Button: FC = forwardRef(
if (animate === true) {
return makeAnimationCss(bounceIn)
}
if (animate in animations) {
if (animate && animate in animations) {
return makeAnimationCss(animations[animate as string])
}
return css``

Loading…
Cancel
Save