mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-11-11 08:23:42 +00:00
fix(lint): resolve caption and cloud integration diagnostics
This commit is contained in:
1 parent
5ec5d196fd
commit
dd92fccf97
5 files changed
+11
-9
No files matched your search
@@ -4,8 +4,11 @@ const state = vi.hoisted(() => ({ refs: [] as { current: unknown }[], index: 0 }
|
||||
vi.mock("react", () => ({
|
||||
useCallback: (callback: unknown) => callback,
|
||||
useEffect: () => {},
|
||||
useRef: (current: unknown) =>
|
||||
state.refs[state.index++] ?? (state.refs[state.index - 1] = { current }),
|
||||
useRef: (current: unknown) => {
|
||||
const index = state.index++;
|
||||
state.refs[index] ??= { current };
|
||||
return state.refs[index];
|
||||
},
|
||||
}));
|
||||
vi.mock("@/components/ui/toast", () => ({
|
||||
toast: { error: vi.fn(), info: vi.fn(), success: vi.fn() },
|
||||
|
||||
@@ -188,7 +188,7 @@ function ExportState({ mode }: { mode: string }) {
|
||||
<EditorExportMenu
|
||||
projectTitle="Demo recording"
|
||||
prepareExportForShare={async () => undefined}
|
||||
onRequestShareSignIn={() => {}}
|
||||
onRequestShareSignIn={() => undefined}
|
||||
shareRequestNonce={0}
|
||||
t={t}
|
||||
exportSettings={exportSettings}
|
||||
|
||||
Reference in new issue
Block a user