Skip to content

Commit f7cdf28

Browse files
committed
fixed server render
1 parent bedab58 commit f7cdf28

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = function(api) {
1515
plugins: [
1616
'add-module-exports',
1717
'dynamic-import-node',
18-
'object-to-json-parse',
18+
'reshow-object-to-json-parse',
1919
'transform-react-pure-class-to-function',
2020
['transform-react-remove-prop-types', {mode: 'wrap'}],
2121
[
@@ -45,7 +45,7 @@ module.exports = function(api) {
4545
'@babel/preset-react',
4646
],
4747
plugins: [
48-
'object-to-json-parse',
48+
'reshow-object-to-json-parse',
4949
'transform-react-pure-class-to-function',
5050
['transform-react-remove-prop-types', {mode: 'wrap'}],
5151
[

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reshow",
3-
"version": "0.13.0-beta.16",
3+
"version": "0.13.0-beta.17",
44
"description": "Flux Reducer Present Library",
55
"main": "./build/cjs/src/index.js",
66
"module": "./build/es/src/index.js",

ui/molecules/Reshow.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Reshow extends PureComponent {
5353
if (path) {
5454
setTimeout(() => dispatch({ themePath: path }));
5555
} else {
56-
path = pageStore.getThemePath();
56+
path = pageStore.getThemePath() || this.props.themePath;
5757
}
5858
globalStore.path = path;
5959
return globalStore.path;

0 commit comments

Comments
 (0)