Skip to content

Commit 706e85b

Browse files
committed
fix: 🐛 deploy to subfolder
1 parent 496f3ee commit 706e85b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/EncodingDemo.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ export function EncodingDemo() {
170170
}, []);
171171

172172
function startPlayback() {
173+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
174+
// @ts-expect-error
173175
playbackIntervalRef.current = setInterval(() => {
174176
setSignalMarkerPos((signalMarkerPos) => Number(signalMarkerPos) + 0.1)
175177
},

src/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ export function debounce(func: () => void, time = 200) {
227227
if (timer) {
228228
clearTimeout(timer);
229229
}
230+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
231+
// @ts-expect-error
230232
timer = setTimeout(func, time);
231233
};
232234
}

0 commit comments

Comments
 (0)