More splashes

This commit is contained in:
zkldi
2021-10-24 16:22:07 +01:00
parent 851eddf851
commit 90431daa0a
3 changed files with 6 additions and 4 deletions
@@ -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 (
<>
<div
@@ -37,7 +37,7 @@ export default function TimelineChart({
Not Enough Data... Yet.
<br />
<small className="text-muted">
(You need atleast 7 days worth of data)
(You need atleast 2 days worth of data)
</small>
</div>
</div>
@@ -48,7 +48,7 @@ export default function TimelineChart({
Not Enough Data... Yet.
<br />
<small className="text-muted">
(You need atleast 7 days worth of data)
(You need atleast 2 days worth of data)
</small>
</div>
</div>
@@ -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);
});
+2
View File
@@ -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?