From 90431daa0a7b932b39ccfbf46337c06e85ac1195 Mon Sep 17 00:00:00 2001 From: zkldi Date: Sun, 24 Oct 2021 16:22:07 +0100 Subject: [PATCH] More splashes --- client/src/components/charts/TimelineChart.tsx | 6 +++--- client/src/components/layout/screens/LoadingScreen.tsx | 2 +- client/src/util/splashes.ts | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/client/src/components/charts/TimelineChart.tsx b/client/src/components/charts/TimelineChart.tsx index 36ed54722..866fc2973 100644 --- a/client/src/components/charts/TimelineChart.tsx +++ b/client/src/components/charts/TimelineChart.tsx @@ -25,7 +25,7 @@ export default function TimelineChart({ tooltipRenderFn?: (p: PointTooltipProps["point"]) => JSX.Element; reverse?: boolean; } & ResponsiveLine["props"]) { - if (!data[0] || data[0].data.length < 7) { + if (!data[0] || data[0].data.length < 2) { return ( <>
- (You need atleast 7 days worth of data) + (You need atleast 2 days worth of data)
@@ -48,7 +48,7 @@ export default function TimelineChart({ Not Enough Data... Yet.
- (You need atleast 7 days worth of data) + (You need atleast 2 days worth of data) diff --git a/client/src/components/layout/screens/LoadingScreen.tsx b/client/src/components/layout/screens/LoadingScreen.tsx index 4c083d5e5..9850c3b71 100644 --- a/client/src/components/layout/screens/LoadingScreen.tsx +++ b/client/src/components/layout/screens/LoadingScreen.tsx @@ -43,7 +43,7 @@ export function LoadingScreen({ children }: JustChildren) { .catch(err => { console.error(err); setBroke( - "A network error has occured while loading Kamaitachi. If you think this is on your end, try reloading the page. If you think it isn't, report this." + `A network error has occured while loading ${TachiConfig.name}. If you think this is on your end, try reloading the page. If you think it isn't, report this.` ); clearTimeout(timeout); }); diff --git a/client/src/util/splashes.ts b/client/src/util/splashes.ts index 04629a4e1..a14b94a96 100644 --- a/client/src/util/splashes.ts +++ b/client/src/util/splashes.ts @@ -73,6 +73,8 @@ export const loggedInSplashes = [ "Our most beautiful melody.", "Cwalina Subsidiary", "Let's do it now.", + "Brought by GameMasterAnthony", + "bwhæhæhææhæhhææhæh", ]; // Stuff that's bad for the kids, you know?