initial provider

This commit is contained in:
Kasper
2021-09-14 17:23:36 +02:00
parent 5b4d1b57d4
commit cc83c1f0e9
66 changed files with 1665 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
import { useCallback } from 'react'
export function emptyHook() {
const useEmptyHook = async (options = {}) => {
return useCallback(async function () {
return Promise.resolve()
}, [])
}
return useEmptyHook
}
export default emptyHook