Created
September 22, 2020 01:41
-
-
Save jasonLaster/a6d64ae10454b2247332d2446faf3b39 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit a921ed8ca38f5fbbf016fc4a1c0cc574ca2e5641 | |
| Author: Jason Laster <jason.laster.11@gmail.com> | |
| Date: Mon Sep 21 18:40:48 2020 -0700 | |
| small fix | |
| diff --git a/src/ui/components/DevTools.js b/src/ui/components/DevTools.js | |
| index de8e4c3c..008bd11a 100644 | |
| --- a/src/ui/components/DevTools.js | |
| +++ b/src/ui/components/DevTools.js | |
| @@ -17,10 +17,6 @@ class DevTools extends React.Component { | |
| orientation: "bottom", | |
| }; | |
| - renderLoadingBar() { | |
| - return <div className="loading-bar" style={{ width: `${loading}%` }} />; | |
| - } | |
| - | |
| renderViewer(toolbox) { | |
| const { tooltip } = this.props; | |
| return ( | |
| @@ -72,7 +68,7 @@ class DevTools extends React.Component { | |
| const recordingIsLoading = loading < 100; | |
| if (recordingIsLoading) { | |
| - return renderLoadingBar(); | |
| + return <div className="loading-bar" style={{ width: `${loading}%` }} />; | |
| } | |
| return ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment