kaas
This commit is contained in:
parent
75bd06cac3
commit
40f46eba1d
17 changed files with 426 additions and 150 deletions
|
@ -62,7 +62,7 @@ export const FilesProvider = (props) => {
|
|||
return <FilesContext.Provider value={ctx}>{props.children}</FilesContext.Provider>;
|
||||
}
|
||||
|
||||
export const useFiles = () => useContext(FilesContext)!;
|
||||
export const useFiles = () => useContext(FilesContext);
|
||||
|
||||
export const load = (file: File): Promise<Map<string, string> | undefined> => {
|
||||
switch (file.type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue