[minor bugfix] fix minor bug with handleReset in suspense fixture (#13843)
* fix minor bug with handleReset in suspense fixture otherwise resetting the cache in debugger throws an error reported here https://www.reddit.com/r/reactjs/comments/9n9nfo/react_166_canary/ * fix singlequote/doublequote * switch to performance.now()
shawn wang committed
Oct 21, 2018 at 14:16 UTC
7ebd90c2c36bcea3081a353e0e20542cf69c64cd
1 file changed
+1
-1
fixtures/unstable-async/suspense/src/index.js
+1
-1
@@ -65,7 +65,7 @@ class Debugger extends PureComponent {
65
}
66
67
handleReset = () => {
68
- trace('Clear cache', () => {
68
+ trace('Clear cache', performance.now(), () => {
69
cache.invalidate();
70
this.setState(state => ({
71
requests: {},