Skip to content

Commit

Permalink
fix: make context.helmet optional in Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjieqiang authored and staylor committed Dec 1, 2023
1 parent b903f50 commit ebc8cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Context = React.createContext(defaultValue);

interface ProviderProps {
context?: {
helmet: HelmetServerState;
helmet?: HelmetServerState;
};
}

Expand Down

0 comments on commit ebc8cc4

Please sign in to comment.