chore(deps): update dependency eslint-plugin-react to v7.33.0 (#3205)

* chore(deps): update dependency eslint-plugin-react to v7.33.0

* chore: have linter try to autofix and commit linter warnings

* Linter fixes

* chore: tweak how js formatting is run within actions

* fix: type mismatch

* Prettified Code!

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Owncast <owncast@owncast.online>
Co-authored-by: gabek <gabek@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2023-07-29 15:57:45 -07:00
committed by GitHub
parent adef11eccf
commit 7c13a3fd01
9 changed files with 53 additions and 58 deletions

View File

@@ -75,7 +75,7 @@ const ConnectedClient = ({ client }: { client: Client }) => {
return (
<div>
<ValueRow label="Messages Sent" value={`${messageCount}`} />
<ValueRow label="Messages Sent" value={messageCount.toString()} />
{geo !== 'N/A' && <ValueRow label="Geo" value={geo} />}
<ValueRow label="Connected At" value={connectedAtDate} />
</div>
@@ -162,9 +162,7 @@ export const ChatModerationDetailsModal: FC<ChatModerationDetailsModalProps> = (
>
<Spin spinning={loading}>
<UserColorBlock color={displayColor} />
{scopes?.map(scope => (
<Tag key={scope}>{scope}</Tag>
))}
{scopes?.map(scope => <Tag key={scope}>{scope}</Tag>)}
{authenticated && <Tag>Authenticated</Tag>}
{isBot && <Tag>Bot</Tag>}
<ValueRow label="Messages Sent Across Clients" value={totalMessagesSent.toString()} />