You've already forked microservices
mirror of
https://github.com/ebosas/microservices.git
synced 2025-06-30 22:33:51 +02:00
updates to readme, frontend
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"build": "node esbuild.js",
|
||||
"build-server": "esbuild src/index.jsx --bundle --sourcemap --outdir=../server/static"
|
||||
"build-server": "esbuild src/index.jsx --bundle --outdir=../server/static",
|
||||
"serve": "esbuild src/index.jsx --outfile=index.js --bundle --sourcemap --serve=8000"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
@ -68,7 +68,7 @@ function App(){
|
||||
React.useEffect(() => {
|
||||
clearTimeout(timeout.current);
|
||||
|
||||
timeout.current = setTimeout(() => {setAlerts([])}, 15000);
|
||||
timeout.current = setTimeout(() => {setAlerts([])}, 20000);
|
||||
|
||||
return () => {
|
||||
clearTimeout(timeout.current);
|
||||
|
@ -2,7 +2,7 @@ import * as React from 'react'
|
||||
import * as ReactDOM from 'react-dom'
|
||||
import App from './app';
|
||||
|
||||
ReactDOM.hydrate(
|
||||
ReactDOM.render(
|
||||
<App />,
|
||||
document.getElementById('root')
|
||||
);
|
||||
|
Reference in New Issue
Block a user