12 lines
359 B
Diff
12 lines
359 B
Diff
|
--- orig/utils/ssr.jsx 2021-10-11 21:17:02.041396123 -0300
|
||
|
+++ sources-gen/utils/ssr.jsx 2021-10-11 21:22:17.825984088 -0300
|
||
|
@@ -1,7 +1,3 @@
|
||
|
-function isServer() {
|
||
|
+export function isServer() {
|
||
|
return !(typeof window !== 'undefined' && window.document);
|
||
|
}
|
||
|
-// CommonJS export to be able to use it on server and client
|
||
|
-module.exports = {
|
||
|
- isServer,
|
||
|
-};
|