diff --git a/archiver/archiveCrawlers.ts b/archiver/archiveCrawlers.ts index a52e43b..7d1536f 100644 --- a/archiver/archiveCrawlers.ts +++ b/archiver/archiveCrawlers.ts @@ -26,7 +26,7 @@ const mkdirp = async (filePath: string) => { try { // Ensure dirs exists with mkdir mkdirSync(filePath, { recursive: true }); - } catch(error) { + } catch (error) { // noop. Throws error if dirs exists } }; diff --git a/components/ShoutBox/messageformatter.tsx b/components/ShoutBox/messageformatter.tsx index 098a458..bfce342 100644 --- a/components/ShoutBox/messageformatter.tsx +++ b/components/ShoutBox/messageformatter.tsx @@ -33,7 +33,7 @@ const MessageFormatter = ({ {isAdmin && name !== 'Toimitus' && name !== 'Palvelin' && !telegram && ( @@ -143,7 +143,7 @@ const Chat = ({ limit, isOpen }: ShoutBoxProps) => { } return ( -
+
{ message={message.message} name={message.name} timestamp={message.timestamp} - color={index % 2 === 0 ? 'bg-blue' : 'bg-blue-light'} + color={ + index % 2 === 0 ? 'bg-radio-common' : 'bg-radio-controller' + } isAdmin={isAdmin} onBanClick={handleBanClick} telegram={message.source === 'telegram'} diff --git a/components/ShoutBox/textfield.tsx b/components/ShoutBox/textfield.tsx index 4dfc433..60e7b74 100644 --- a/components/ShoutBox/textfield.tsx +++ b/components/ShoutBox/textfield.tsx @@ -18,7 +18,7 @@ const TextField = ({
{label} { diff --git a/components/footer.tsx b/components/footer.tsx index cfd5cfe..02bbcd9 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -16,7 +16,7 @@ interface FooterProps { const Footer = ({ navigationItems }: FooterProps) => { return ( -