]> cat aescling's git repositories - mastodon.git/commitdiff
Fix defaultProps of frameRate to string (#15493)
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Tue, 5 Jan 2021 19:00:42 +0000 (04:00 +0900)
committerGitHub <noreply@github.com>
Tue, 5 Jan 2021 19:00:42 +0000 (20:00 +0100)
app/javascript/mastodon/features/video/index.js

index d8a6c4f502b4ed2065945013e464291a59a607d6..70e3cd6e88e78a814045543741f2fe0f67df4a2f 100644 (file)
@@ -125,7 +125,7 @@ class Video extends React.PureComponent {
   };
 
   static defaultProps = {
-    frameRate: 25,
+    frameRate: '25',
   };
 
   state = {
This page took 0.047909 seconds and 4 git commands to generate.