fix error line
This commit is contained in:
@@ -85,7 +85,8 @@ const PRESSABLE = 'transition-transform duration-150 hover:-translate-y-px activ
|
||||
/* ── Small shared pieces ────────────────────────────────────────────────── */
|
||||
|
||||
/** A label inside a section — a rung below the section headings the rail draws. */
|
||||
function SubLabel({ children, className }) {
|
||||
/** @param {any} props */
|
||||
function SubLabel({ children, className = '' }) {
|
||||
return (
|
||||
<p className={cn('mb-2 text-[10px] font-semibold uppercase tracking-[0.08em] text-ink-4', className)}>
|
||||
{children}
|
||||
@@ -115,7 +116,8 @@ function Signal({ label, value }) {
|
||||
}
|
||||
|
||||
/** A reputation figure. Value large, label quiet, no card around it. */
|
||||
function Metric({ label, value, suffix, tone }) {
|
||||
/** @param {any} props */
|
||||
function Metric({ label, value, suffix = '', tone = '' }) {
|
||||
if (value == null || value === '') return null;
|
||||
return (
|
||||
<div className="min-w-0 px-4 py-3">
|
||||
@@ -163,7 +165,8 @@ function Fact({ label, children }) {
|
||||
* Staggered by index, once. The delay is capped so a candidate with twenty
|
||||
* skills does not make the reader watch a queue form.
|
||||
*/
|
||||
function Pill({ index = 0, className, children }) {
|
||||
/** @param {any} props */
|
||||
function Pill({ index = 0, className = '', children }) {
|
||||
const reduced = useReducedMotion();
|
||||
return (
|
||||
<motion.span
|
||||
|
||||
Reference in New Issue
Block a user