IO-969 Phonebook insert error fix.

This commit is contained in:
Patrick Fic
2021-04-29 11:29:26 -07:00
parent 1bda972094
commit 4982e3ce4e
7 changed files with 60 additions and 60 deletions

View File

@@ -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",
});
};