Skip to content

Commit adc99c6

Browse files
committed
Type nextProps with WrapperProps
1 parent 1d4e133 commit adc99c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/generate-require-signin-wrapper.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/generate-require-signin-wrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const generateRequireSignInWrapper = (
2020
}
2121

2222
class GatedPage extends React.Component<WrapperProps> {
23-
public componentWillReceiveProps(nextProps: any): void {
23+
public componentWillReceiveProps(nextProps: WrapperProps): void {
2424
const {
2525
history,
2626
hasVerificationBeenAttempted,

0 commit comments

Comments
 (0)