Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsheg committed Aug 7, 2024
1 parent a81fd22 commit 6f98334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ import { createFXConfig, createFXContext } from 'fx-react';
import { configModule, loggerModule, apiModule } from './modules';

const FXModules = [configModule, loggerModule, apiModule];
const { FXProvider, useFX } = createFXContext<typeof FXModules>();
const { FXProvider, useFX } = createFXContext<typeof FXModules>(FXModules);

function App() {
const fxConfig = createFXConfig(FXModules).withHooks({
Expand Down

0 comments on commit 6f98334

Please sign in to comment.