Skip to content

Commit

Permalink
Updated according to PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdigdir committed Nov 7, 2024
1 parent 1667ea8 commit 82afbb2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/i18n/resources/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"inbox.heading.attachments": "{count, plural, =0 {No attachments} one {# attachment} other {# attachments}}",
"inbox.heading.choose_all": "Select All",
"inbox.heading.no_results": "No messages",
"inbox.heading.no_results.inbox": "No messages in inbox",
"inbox.heading.no_results.drafts": "No messages in drafts",
"inbox.heading.no_results.sent": "No sent messages",
"inbox.heading.no_results.bin": "No messages in bin",
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/i18n/resources/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"inbox.heading.attachments": "{count, plural, =0 {Ingen vedlegg} one {# vedlegg} other {# vedlegg}}",
"inbox.heading.choose_all": "Velg alle",
"inbox.heading.no_results": "Ingen meldinger",
"inbox.heading.no_results.inbox": "Ingen meldinger i innboks",
"inbox.heading.no_results.drafts": "Ingen meldinger i utkast",
"inbox.heading.no_results.sent": "Ingen sendte meldinger",
"inbox.heading.no_results.bin": "Ingen meldinger i papirkurv",
Expand Down
4 changes: 0 additions & 4 deletions packages/frontend/src/pages/Inbox/Inbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ export const Inbox = ({ viewType }: InboxProps) => {
}
}, [location.pathname]);

useEffect(() => {
console.log('viewType', viewType);
}, [viewType]);

// biome-ignore lint/correctness/useExhaustiveDependencies: Full control of what triggers this code is needed
useEffect(() => {
const newSearchParams = new URLSearchParams(searchParams);
Expand Down

0 comments on commit 82afbb2

Please sign in to comment.