'use client'; /** * Context Bar * * Top bar showing current context: shift, selected patient, user info. */ import { useSwiftStore } from '@/stores/swift-store'; export function ContextBar() { const { shift, activePatient } = useSwiftStore(); return (
Swift {shift}dienst
{activePatient ? ( {activePatient.name_given.join(' ')} {activePatient.name_family} ) : ( Geen patiƫnt geselecteerd )}
); }