diff --git a/packages/react-scripts/template/src/registerServiceWorker.js b/packages/react-scripts/template/src/registerServiceWorker.js index 9399115dd7f..d1ac525c36f 100644 --- a/packages/react-scripts/template/src/registerServiceWorker.js +++ b/packages/react-scripts/template/src/registerServiceWorker.js @@ -12,7 +12,7 @@ import ReactDOM from 'react-dom'; import Toast from './Toast'; const useToast = true; -const domId = 'create-react-app-toast'; +const domId = 'toast'; let dom = document.getElementById(domId); if (!dom) {