mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 15:35:11 +00:00
fix linter
This commit is contained in:
parent
558f2a5e7c
commit
e1096dd120
1 changed files with 5 additions and 1 deletions
|
@ -237,7 +237,11 @@ export default definePlugin({
|
|||
|
||||
return (
|
||||
<span className={classes(styles.timestampInline, styles.timestamp)}>
|
||||
{timezone && "• " + getTimeString(timezone, message.timestamp)}
|
||||
{
|
||||
timezone && "• " + getTimeString(timezone,
|
||||
/* message.timestamp is actually Date but as discord-types is outdated I had to do this */
|
||||
((message.timestamp as unknown) as Date))
|
||||
}
|
||||
</span>);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue