Idk why I used ?? there

This commit is contained in:
Freeplay 2023-06-02 15:06:57 -04:00
parent 1efb167f8f
commit c722cee101

View file

@ -107,7 +107,7 @@ export default defineComponent({
case "tada": { case "tada": {
const speed = validTime(token.props.args.speed) || "1s"; const speed = validTime(token.props.args.speed) || "1s";
const delay = validTime(token.props.args.delay) || "0s"; const delay = validTime(token.props.args.delay) || "0s";
const ease = validEase(token.props.args.ease) ?? "(0,0,1,1)"; const ease = validEase(token.props.args.ease) || "(0,0,1,1)";
style = `font-size: 150%; animation: tada ${speed} ${delay} cubic-bezier${ease} infinite both;`; style = `font-size: 150%; animation: tada ${speed} ${delay} cubic-bezier${ease} infinite both;`;
break; break;
} }