We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d24e83 commit 61a251fCopy full SHA for 61a251f
src/devtools/views/Profiler/ReloadAndProfileButton.js
@@ -18,7 +18,11 @@ export default function ReloadAndProfileButton() {
18
}
19
20
return (
21
- <Button onClick={reloadAndProfile} title="Reload and start profiling">
+ <Button
22
+ disabled={!store.supportsProfiling}
23
+ onClick={reloadAndProfile}
24
+ title="Reload and start profiling"
25
+ >
26
<ButtonIcon type="reload" />
27
</Button>
28
);
0 commit comments