Skip to content

Commit 725c0a5

Browse files
committed
Add window. prefix to AbortController
1 parent 1b2b89a commit 725c0a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/JottingsControls/jottingsControl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export default function JottingsControl(props) {
1111
const [notes, setNotes] = useState(null);
1212
const [tasks, setTasks] = useState(null);
1313

14-
const ownAbortController = new AbortController();
15-
const sharedAbortController = new AbortController();
14+
const ownAbortController = new window.AbortController();
15+
const sharedAbortController = new window.AbortController();
1616

1717
const getJotsToShow = (response, jotType) => {
1818
if (

0 commit comments

Comments
 (0)