Changed p to Text component

This commit is contained in:
kfiven committed 2021-09-30 20:56:39 +05:30
1 parent 0a848a078e
commit 6b625e146d
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -333,7 +333,7 @@ function RoomViewInput({
function renderInputs() {
if (!canISend) {
return (
<p className="room-input__disallowed">You do not have permission to post to this room</p>
<Text className="room-input__disallowed">You do not have permission to post to this room</Text>
);
}
return (
@@ -4,7 +4,6 @@
min-height: 48px;
&__disallowed {
color: var(--tc-surface-low);
flex: 1;
text-align: center;
}