mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Fix initial paused state
This commit is contained in:
parent
66c3a5c058
commit
8e0f50a2e6
1 changed files with 2 additions and 2 deletions
|
|
@ -72,8 +72,8 @@ function Debugger({ maki }) {
|
|||
// This is all a huge disaster
|
||||
const getNextStepPromiseRef = React.useRef(null);
|
||||
const [next, setNext] = React.useState(() => {});
|
||||
const [breakPoints, setBreakpoints] = React.useState(new Set([2]));
|
||||
const [paused, setPaused] = React.useState(false);
|
||||
const [breakPoints, setBreakpoints] = React.useState(new Set([]));
|
||||
const [paused, setPaused] = React.useState(true);
|
||||
const [state, dispatch] = React.useReducer((state, action) => {
|
||||
switch (action.type) {
|
||||
case "STEPPED":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue