Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: remove profile redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Nov 11, 2023
1 parent b2af018 commit 4a8a706
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
6 changes: 0 additions & 6 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ export default function MyApp({
}) {
const router = useRouter();

if (typeof window !== "undefined" && window.localStorage) {
window.addEventListener("appinstalled", () => {
localStorage["installedFrom"] = window.location.pathname;
});
}

// Use the layout defined at the page level, if available
const getLayout =
Component.getLayout || ((page) => <MultiLayout>{page}</MultiLayout>);
Expand Down
13 changes: 0 additions & 13 deletions pages/pwa.js

This file was deleted.

2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"short_name": "biodrop",
"theme_color": "#FFFFFF",
"background_color": "#FFFFFF",
"start_url": "/pwa",
"start_url": "/",
"display": "standalone",
"orientation": "portrait",
"icons": [
Expand Down

0 comments on commit 4a8a706

Please sign in to comment.