Skip to content

Commit 9458350

Browse files
Update examples/SampleApp/src/screens/NewDirectMessagingScreen.tsx
Co-authored-by: Mads Røskar <[email protected]>
1 parent 6f6b21a commit 9458350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/SampleApp/src/screens/NewDirectMessagingScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export const NewDirectMessagingScreen: React.FC<NewDirectMessagingScreenProps> =
161161

162162
const [focusOnMessageInput, setFocusOnMessageInput] = useState(false);
163163
const [focusOnSearchInput, setFocusOnSearchInput] = useState(true);
164-
// As we dont use the first state variable we can simple not have it here and just separate with a comma within the array. Fix for no-usused-vars
164+
// As we don't use the state value, we can omit it here and separate it with a comma within the array.
165165
const [, setMessageInputText] = useState('');
166166

167167
// When selectedUsers are changed, initiate a channel with those users as members,

0 commit comments

Comments
 (0)