summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals/filepicker/patches/index.ts
blob: 310bfbf8d3a9da36a4bf7b2824f3be963b6c8b07 (plain)
1
2
3
4
5
6
7
8
9
10
import library from './library';
let patches: Function[] = [];

export function deinitFilepickerPatches() {
  patches.forEach((unpatch) => unpatch());
}

export async function initFilepickerPatches() {
  patches.push(await library());
}