MCPcopy Create free account
hub / github.com/pacexy/flow / useRemoteFiles

Function useRemoteFiles

apps/reader/src/hooks/remote/useRemote.ts:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7} from '@flow/reader/sync'
8
9export function useRemoteFiles() {
10 return useSWR('/files', dropboxFilesFetcher, { shouldRetryOnError: false })
11}
12
13export function useRemoteBooks() {
14 return useSWR(`/${DATA_FILENAME}`, dropboxBooksFetcher, {

Callers 2

LibraryFunction · 0.90
BookFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected