mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Fix linter errors
This commit is contained in:
15 files changed
+93
-70
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import { ReactNode } from 'react';
|
||||
import type LightningFS from '@isomorphic-git/lightning-fs';
|
||||
import { FSContext, type FSContextType } from '@/contexts/FSContext';
|
||||
|
||||
interface FSProviderProps {
|
||||
children: ReactNode;
|
||||
fs: LightningFS.PromisifiedFS;
|
||||
}
|
||||
|
||||
export function FSProvider({ children, fs }: FSProviderProps) {
|
||||
const contextValue: FSContextType = { fs };
|
||||
|
||||
return (
|
||||
<FSContext.Provider value={contextValue}>
|
||||
{children}
|
||||
</FSContext.Provider>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user