certified react moment

also we updated package.json without yarn? What the fuck?!
This commit is contained in:
Letter N
2021-01-13 11:20:11 +08:00
parent f40955f6dc
commit f63c020cfa
3 changed files with 18 additions and 24 deletions
@@ -365,9 +365,9 @@ export const TeleLogs = (props, context) => {
);
};
export const CustomMsg = context => {
export const CustomMsg = (props, context) => {
const { act, data } = useBackend(context);
const fake_message = data.fake_message || {
const fake_message = data.fake_message !== {} ? data.fake_message : {
'sender': 'System Administrator',
'job': 'Admin',
'recepient': null,