Skip to content

Commit

Permalink
Add "30 days" for profile mute
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Nov 15, 2024
1 parent dc2d441 commit 75ceff1
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 113 deletions.
2 changes: 2 additions & 0 deletions src/components/account-info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const MUTE_DURATIONS = [
60 * 60 * 24, // 1 day
60 * 60 * 24 * 3, // 3 days
60 * 60 * 24 * 7, // 1 week
60 * 60 * 24 * 30, // 30 days
0, // forever
];
const MUTE_DURATIONS_LABELS = {
Expand All @@ -62,6 +63,7 @@ const MUTE_DURATIONS_LABELS = {
86_400: i18nDuration(1, 'day'),
259_200: i18nDuration(3, 'day'),
604_800: i18nDuration(1, 'week'),
2592_000: i18nDuration(30, 'day'),
};

const LIMIT = 80;
Expand Down
Loading

0 comments on commit 75ceff1

Please sign in to comment.