Fix sharable link issues. Browsersync works with ngrok now.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user