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 385ae10 commit eab60adCopy full SHA for eab60ad
dashi/src/App.tsx
@@ -43,14 +43,14 @@ function App() {
43
if (panelsResponse.result) {
44
const panelIds = panelsResponse.result.panels;
45
panelSelector = (
46
- <div>
+ <div style={{ padding: 5 }}>
47
{panelIds.map((panelId) => (
48
<div key={panelId}>
49
<input
50
type="checkbox"
51
checked={Boolean(panelVisibilities[panelId])}
52
value={panelId}
53
- onClick={(e) => {
+ onChange={(e) => {
54
setPanelVisibilities({
55
...panelVisibilities,
56
[panelId]: e.currentTarget.checked,
0 commit comments