Skip to content

Commit 938de61

Browse files
fix: remove legacy prop
1 parent 341baa5 commit 938de61

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/components/Premium.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default () => {
9999
return (
100100
<div className="page premium">
101101
<div className="container">
102-
<Header paywallRef={accessRef} onLogin={onLogin} />
102+
<Header onLogin={onLogin} />
103103
<h1>Premium post</h1>
104104
<p>This is a premium post (with a paywall), it
105105
contains exactly 10 paragraphs of lorem ipsum
@@ -112,7 +112,6 @@ export default () => {
112112
<Paywall
113113
ref={accessRef}
114114
contentRef={paywallRef}
115-
beforeInit={init}
116115
events={{ onSubscribeClick, onLoginClick }}
117116
config={config}
118117
/>

0 commit comments

Comments
 (0)