()
| 106 | } |
| 107 | |
| 108 | const sync = () => { |
| 109 | const next = getCode() |
| 110 | const current = code() |
| 111 | if (next.length === current.length && next.every((el, i) => el === current[i])) return |
| 112 | setCode(next) |
| 113 | } |
| 114 | |
| 115 | const restore = () => { |
| 116 | const el = scroll |
no test coverage detected