import { timeSince } from '@/lib/time' import styles from './log-message.module.css' export default function LogMessage ({ wallet, level, message, ts }) { level = level.toLowerCase() const levelClassName = ['ok', 'success'].includes(level) ? 'text-success' : level === 'error' ? 'text-danger' : level === 'info' ? 'text-info' : '' return (