IO-969 Phonebook insert error fix.
This commit is contained in:
@@ -14,8 +14,8 @@ import AppContainer from "./App/App.container";
|
||||
import LoadingSpinner from "./components/loading-spinner/loading-spinner.component";
|
||||
import "./index.css";
|
||||
import { persistor, store } from "./redux/store";
|
||||
import * as serviceWorkerRegistration from "./serviceWorkerRegistration";
|
||||
import reportWebVitals from "./reportWebVitals";
|
||||
import * as serviceWorkerRegistration from "./serviceWorkerRegistration";
|
||||
import "./translations/i18n";
|
||||
import "./utils/CleanAxios";
|
||||
require("dotenv").config();
|
||||
@@ -55,7 +55,7 @@ ReactDOM.render(
|
||||
|
||||
const onServiceWorkerUpdate = (registration) => {
|
||||
console.log("onServiceWorkerUpdate", registration);
|
||||
const key = `open${Date.now()}`;
|
||||
|
||||
const btn = (
|
||||
<Button
|
||||
type="primary"
|
||||
@@ -79,7 +79,7 @@ const onServiceWorkerUpdate = (registration) => {
|
||||
description: i18n.t("general.messages.newversionmessage"),
|
||||
duration: 0,
|
||||
btn,
|
||||
key,
|
||||
key: "updateavailable",
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user