Skip to content

Commit

Permalink
v1.0.10-beta
Browse files Browse the repository at this point in the history
- Hotfix for notifications
  • Loading branch information
iPaulPro committed Feb 26, 2023
1 parent 88ed809 commit 8749527
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"manifest_version": 3,
"name": "Focalize - Post on Lens Protocol",
"short_name": "Focalize",
"version": "1.0.9",
"version_name": "1.0.9-beta",
"version": "1.0.10",
"version_name": "1.0.10-beta",
"description": "Extension for Publishing on Lens Protocol",
"permissions": [
"activeTab",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "focalize",
"private": true,
"version": "1.0.9",
"version": "1.0.10",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
4 changes: 2 additions & 2 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ const getNotifications = async (): Promise<Notification[] | undefined> => {
{'x-access-token': `Bearer ${accessToken}`}
);

if (data.notifications.__typename === "PaginatedNotificationResult") {
return data.notifications?.items as Notification[];
if (data.notifications.items) {
return data.notifications.items as Notification[];
}

return [];
Expand Down

0 comments on commit 8749527

Please sign in to comment.