Page MenuHomePhabricator

D9499.id32125.diff
No OneTemporary

D9499.id32125.diff

diff --git a/lib/utils/entity-text.js b/lib/utils/entity-text.js
--- a/lib/utils/entity-text.js
+++ b/lib/utils/entity-text.js
@@ -365,7 +365,7 @@
type RenderFunctions = {
+renderText: ({ +text: string }) => React.Node,
+renderThread: ({ +id: string, +name: string }) => React.Node,
- +renderUser: ({ +userID: string, usernameText: string }) => React.Node,
+ +renderUser: ({ +userID: string, +usernameText: string }) => React.Node,
+renderColor: ({ +hex: string }) => React.Node,
};
function entityTextToReact(
diff --git a/native/chat/inner-robotext-message.react.js b/native/chat/inner-robotext-message.react.js
--- a/native/chat/inner-robotext-message.react.js
+++ b/native/chat/inner-robotext-message.react.js
@@ -120,8 +120,8 @@
}
type UserEntityProps = {
- userID: string,
- usernameText: string,
+ +userID: string,
+ +usernameText: string,
};
function UserEntity(props: UserEntityProps) {
const { userID, usernameText } = props;
diff --git a/web/chat/robotext-message.react.js b/web/chat/robotext-message.react.js
--- a/web/chat/robotext-message.react.js
+++ b/web/chat/robotext-message.react.js
@@ -140,8 +140,8 @@
);
type UserEntityProps = {
- userID: string,
- usernameText: string,
+ +userID: string,
+ +usernameText: string,
};
function UserEntity(props: UserEntityProps) {

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 10, 2:01 PM (15 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2851358
Default Alt Text
D9499.id32125.diff (1 KB)

Event Timeline