Skip to content

Commit

Permalink
fix/local-notification-logic-getplatform (#78)
Browse files Browse the repository at this point in the history
* feature/add-memo-client

* fix/chat-bubble-stories-types-issue
  • Loading branch information
AureliusIvan authored Jul 30, 2024
1 parent 57f7794 commit 029ebfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
distDir: "out",
output: "standalone"
output: "export"
};

export default nextConfig;
3 changes: 1 addition & 2 deletions web/src/services/NotificationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ async function Notify(
at = new Date(Date.now() + 1000 * 10)
) {
const isPlatformAvailable = Capacitor.getPlatform()
console.log(isPlatformAvailable)
if (isPlatformAvailable !== "web") {
if (isPlatformAvailable === "web") {
console.log("LocalNotifications not available")
return
}
Expand Down

0 comments on commit 029ebfd

Please sign in to comment.