Skip to content

Commit

Permalink
chore: bump prettier to help vscode extension to start working again
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Dec 3, 2024
1 parent d0339e0 commit db2b7a2
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 36 deletions.
73 changes: 51 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
]
},
"dependencies": {
"@arcgis/core": "^4.31.4",
"@arcgis/core": "^4.31.6",
"@heroicons/react": "^2.2.0",
"@tanstack/react-query": "^5.60.5",
"@tanstack/react-table": "^8.20.5",
Expand Down Expand Up @@ -81,10 +81,10 @@
"globals": "^15.12.0",
"happy-dom": "^15.11.6",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"prettier": "^3.4.1",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-packagejson": "^2.5.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"prettier-plugin-packagejson": "^2.5.6",
"prettier-plugin-tailwindcss": "^0.6.9",
"storybook": "^8.4.4",
"tailwindcss": "^3.4.15",
"tailwindcss-react-aria-components": "^1.1.6",
Expand Down
18 changes: 8 additions & 10 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,15 @@ import { MapProvider } from './components/contexts/MapProvider';
import './index.css';

// unregister old service worker
if ("serviceWorker" in navigator) {
navigator.serviceWorker.getRegistrations().then(
function(registrations) {
for (const registration of registrations) {
console.log('Unregistering service worker:', registration);
registration.unregister().then(function(success) {
if (success) window.location.reload();
});
}
if ('serviceWorker' in navigator) {
navigator.serviceWorker.getRegistrations().then(function (registrations) {
for (const registration of registrations) {
console.log('Unregistering service worker:', registration);
registration.unregister().then(function (success) {
if (success) window.location.reload();
});
}
);
});
}

let firebaseConfig = {
Expand Down

0 comments on commit db2b7a2

Please sign in to comment.