From fc9465063e3d569a0d8d4b2fd2311a9c83f49d52 Mon Sep 17 00:00:00 2001 From: Ash Keel Date: Fri, 17 Feb 2023 19:51:55 +0100 Subject: [PATCH] fix: wrap log data so it doesn't exit the screen --- frontend/src/ui/components/LogViewer.tsx | 1 + twitch/client.eventsub.go | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ui/components/LogViewer.tsx b/frontend/src/ui/components/LogViewer.tsx index 4789414..fdfe315 100644 --- a/frontend/src/ui/components/LogViewer.tsx +++ b/frontend/src/ui/components/LogViewer.tsx @@ -191,6 +191,7 @@ const LogDetails = styled('div', { gridRow: '2', gridColumn: '2/4', display: 'flex', + flexWrap: 'wrap', gap: '1rem', fontSize: '0.8em', color: '$gray11', diff --git a/twitch/client.eventsub.go b/twitch/client.eventsub.go index 57f1595..6a0a731 100644 --- a/twitch/client.eventsub.go +++ b/twitch/client.eventsub.go @@ -5,7 +5,6 @@ import ( "time" "github.com/gorilla/websocket" - jsoniter "github.com/json-iterator/go" "github.com/nicklaw5/helix/v2" "go.uber.org/zap"