From 7273e580bd92919bca61b4562fc0e9bae99ff00a Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Mon, 3 Jan 2022 13:44:45 -0800 Subject: [PATCH] Quiet React warning in mute modal --- .../conversation-details/ConversationNotificationsModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/components/conversation/conversation-details/ConversationNotificationsModal.tsx b/ts/components/conversation/conversation-details/ConversationNotificationsModal.tsx index 6e23b6577..3f9e8c590 100644 --- a/ts/components/conversation/conversation-details/ConversationNotificationsModal.tsx +++ b/ts/components/conversation/conversation-details/ConversationNotificationsModal.tsx @@ -1,4 +1,4 @@ -// Copyright 2021 Signal Messenger, LLC +// Copyright 2021-2022 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React, { useMemo, useState } from 'react'; @@ -59,6 +59,7 @@ export const ConversationNotificationsModal = ({ checked={muteExpirationValue === option.value} disabled={option.disabled} isRadio + key={option.value} label={option.text} moduleClassName="ConversationDetails__radio" name="mute"