plasalid 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useEffect, useMemo, useState } from "react";
|
|
2
|
+
import chalk from "chalk";
|
|
2
3
|
const HINTS = [
|
|
3
4
|
"try: what is my net worth?",
|
|
4
5
|
"try: how much did I spend on food this month?",
|
|
@@ -33,7 +34,7 @@ export function useFooterText(db) {
|
|
|
33
34
|
scanStr = `scanned ${Math.floor(mins / 1440)}d ago`;
|
|
34
35
|
}
|
|
35
36
|
const idx = (hintIdx + tick) % HINTS.length;
|
|
36
|
-
const parts = ["
|
|
37
|
+
const parts = [`${chalk.cyan("<><")} plasalid`];
|
|
37
38
|
if (scanStr)
|
|
38
39
|
parts.push(scanStr);
|
|
39
40
|
parts.push(HINTS[idx]);
|