Fix sharable link issues. Browsersync works with ngrok now.

This commit is contained in:
2023-06-25 12:19:32 +03:00
parent 996d222436
commit 9818067013
5 changed files with 31 additions and 5 deletions
+3
View File
@@ -9513,6 +9513,9 @@ function Publish(props = {}) {
loading: false
});
const updateState = update => setState(Object.assign({}, state, update));
if (window.devTool.publicUrl) {
return;
}
return /*#__PURE__*/React.createElement("div", null, state.loading && /*#__PURE__*/React.createElement("div", {
className: "overlay overlay--loading"
}, "Loading, Please wait..."), /*#__PURE__*/React.createElement("button", {
File diff suppressed because one or more lines are too long
+4
View File
@@ -5,6 +5,10 @@ function Publish(props = {}) {
const [state, setState] = useState({loading: false});
const updateState = (update) => setState(Object.assign({}, state, update));
if (window.devTool.publicUrl) {
return;
}
return <div>
{state.loading &&
<div className="overlay overlay--loading">Loading, Please wait...</div>