Skip to content

Commit 87353e3

Browse files
committed
Fix creating new sandboxes
1 parent d4de3f2 commit 87353e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/common/utils/animation/delay-out-effect.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { keyframes } from 'styled-components';
1+
import { keyframes, css } from 'styled-components';
22

33
const animation = keyframes`
44
0% { opacity: 1; transform: translateY(10px); }
@@ -11,7 +11,7 @@ const reverseAnimation = keyframes`
1111
`;
1212

1313
export default (delay: number = 0, reverse: boolean = true) =>
14-
`
14+
css`
1515
animation: ${reverse ? reverseAnimation : animation} 0.3s;
1616
animation-delay: ${delay}s;
1717
animation-fill-mode: forwards;

0 commit comments

Comments
 (0)