diff options
Diffstat (limited to 'src/utils/observe-dom.ts')
| -rw-r--r-- | src/utils/observe-dom.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/observe-dom.ts b/src/utils/observe-dom.ts index e375326..30a07b4 100644 --- a/src/utils/observe-dom.ts +++ b/src/utils/observe-dom.ts @@ -1,4 +1,4 @@ -export default (callback: () => boolean) => { +export const observeDOM = (callback: () => boolean) => { const observer = new MutationObserver(() => { if (callback()) { observer.disconnect(); |
