refactor(all): biomejs

This commit is contained in:
z0x 2025-01-14 22:41:22 -05:00
parent 9c22eceaf7
commit a519150e9f
29 changed files with 540 additions and 489 deletions

View file

@ -1,6 +1,6 @@
---
interface Props {
type: "default" | "info" | "warning" | "error";
type: "default" | "info" | "warning" | "error";
}
const { type = "default" } = Astro.props;
@ -8,11 +8,11 @@ const { type = "default" } = Astro.props;
let emoji = "💡";
if (type === "info") {
emoji = "";
emoji = "";
} else if (type === "warning") {
emoji = "⚠️";
emoji = "⚠️";
} else if (type === "error") {
emoji = "🚨";
emoji = "🚨";
}
---