fix: invalid canonicalization
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
export const serverOnlyProps = (callback) => {
|
||||
return async (props) => {
|
||||
// noinspection JSUnresolvedVariable
|
||||
if (process.browser) {
|
||||
// noinspection ES6ModulesDependencies,JSUnresolvedVariable
|
||||
return __NEXT_DATA__.props.pageProps;
|
||||
|
Reference in New Issue
Block a user