Skip to content

Commit

Permalink
removing unnecessary lines
Browse files Browse the repository at this point in the history
  • Loading branch information
msagr committed Apr 7, 2024
1 parent 166bc23 commit 420b9fa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ export default defineComponent({

if (this.isProfileSubscribed(profile)) {
// confirmation pop-up
const unsubscribePrompt = this.$t('Channels.Unsubscribe Prompt', { channelName: this.channelName })
if (!confirm(this.$t(unsubscribePrompt))) {
if (!confirm(this.$t('Channels.Unsubscribe Prompt', { channelName: this.channelName }))) {
return
}
currentProfile.subscriptions = currentProfile.subscriptions.filter((channel) => {
Expand Down

0 comments on commit 420b9fa

Please sign in to comment.