Skip to content

Commit

Permalink
fix: change syntax for delete success message
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Feb 26, 2024
1 parent 2642bdc commit 6ba5348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/utils/PollControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default {
*/
showDeletionAlert(poll: Poll, type: string): void {
const message = {
success: `$fof-polls.forum.poll_controls.delete_success_message`,
success: `fof-polls.forum.poll_controls.delete_success_message`,
error: `fof-polls.forum.poll_controls.delete_error_message`,
}[type]!;

Expand Down

0 comments on commit 6ba5348

Please sign in to comment.