You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/components/StateRoute/Ax.tsx
+4-28Lines changed: 4 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -51,15 +51,9 @@ const AxTree = (props) => {
51
51
setShowTree(false);
52
52
}
53
53
54
-
// useEffect(() => {
55
-
// // dispatch sent at initial page load allowing changing "immer's" draft.currentTabInApp to 'tree' to facilitate render.
56
-
// }, []);
57
-
58
-
59
54
return(
60
55
<div>
61
56
<p>A Note to Developers: Reactime is using the Chrome Debugging API in order to grab the Accessibility Tree. Enabling this option will allow you to record Accessibility Tree snapshots, but will result in the Chrome browser notifying you that the Chrome Debugger has started.</p>
62
-
{/* {<button onClick={enableAxTreeButton}>Click Here to Enable Accessibility</button>} */}
63
57
<div>
64
58
{<input
65
59
type='radio'
@@ -80,29 +74,11 @@ const AxTree = (props) => {
80
74
/>}
81
75
<labelhtmlFor='disable'>Disable</label>
82
76
</div>
83
-
84
77
{showTree&&<JSONTree
85
-
data={axSnapshots[currLocation.index]}
86
-
// shouldExpandNodeInitially={() => false}
87
-
theme={theme}
88
-
/>
89
-
}
90
-
</div>
78
+
data={axSnapshots[currLocation.index]}
79
+
theme={theme}
80
+
/>}
81
+
</div>
91
82
)
92
-
93
-
// return (
94
-
// <div>
95
-
96
-
// <p>A Note to Developers: Reactime is using the Chrome Debugging API in order to grab the Accessibility Tree. Enabling this option will allow you to record AxSnapshots, but will result in the Chrome browser notifying you that the Chrome Debugger has started.</p>
97
-
// {<button onClick={enableAxTreeButton}>Click Here to Enable Accessibility</button>
0 commit comments