mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-25 15:58:31 +00:00
a commit name
This commit is contained in:
parent
d4a2be6e52
commit
8c589a1519
1 changed files with 3 additions and 4 deletions
|
@ -326,11 +326,10 @@ export default definePlugin({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
,
|
,
|
||||||
getTimezonesComponent: (e: any) => {
|
|
||||||
if (Vencord.Settings.plugins.showTimezonesInChat || e.user || e.message.author.id === UserStore.getCurrentUser().id)
|
|
||||||
return null;
|
|
||||||
|
|
||||||
const message = e.message as Message;
|
getTimezonesComponent: ({ message, user }: { message: Message, user: any; }) => {
|
||||||
|
if (Vencord.Settings.plugins.showTimezonesInChat || user || message.author.id === UserStore.getCurrentUser().id)
|
||||||
|
return null;
|
||||||
|
|
||||||
const [timezone, setTimezone] = React.useState<string | undefined>();
|
const [timezone, setTimezone] = React.useState<string | undefined>();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue