Skip to content

Commit d02a9c5

Browse files
committed
Correctly initialize context
1 parent 0a83a19 commit d02a9c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

fluent-react/src/context.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import { createContext } from "react";
22
import ReactLocalization from "./localization";
33

4-
export default createContext(new ReactLocalization([]));
4+
export default createContext({
5+
l10n: new ReactLocalization([]),
6+
parseMarkup: null
7+
});

0 commit comments

Comments
 (0)