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