Skip to content

Commit

Permalink
Update query
Browse files Browse the repository at this point in the history
  • Loading branch information
thordurhhh committed Jun 14, 2024
1 parent b727577 commit ae5d56a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const NotificationButton = ({
input: {
limit: 5,
},
locale: lang,
},
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ query GetUserNotifications($input: NotificationsInput!, $locale: String) {

query GetUserNotificationsOverview(
$input: NotificationsInput!
$locale: String!
$locale: String
) {
userNotificationsOverview: userNotifications(input: $input, locale: $locale) {
data {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ const UserNotifications = () => {
before: '',
after: '',
},
locale: lang,
},
})

Expand All @@ -72,7 +71,6 @@ const UserNotifications = () => {
before: '',
after: cursor,
},
locale: lang,
},
updateQuery: (prevResult, { fetchMoreResult }) => {
if (
Expand Down

0 comments on commit ae5d56a

Please sign in to comment.