--- import { getStatus, statusDictionary } from "./utils"; const { status } = await getStatus("openstatus"); const { label, color } = statusDictionary[status]; --- {label} {status === "operational" ? ( ) : null}