Skip to content

Commit ebc8cc4

Browse files
yangjieqiangstaylor
authored andcommitted
fix: make context.helmet optional in Provider
1 parent b903f50 commit ebc8cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const Context = React.createContext(defaultValue);
1010

1111
interface ProviderProps {
1212
context?: {
13-
helmet: HelmetServerState;
13+
helmet?: HelmetServerState;
1414
};
1515
}
1616

0 commit comments

Comments
 (0)