"use client"; import { useState } from "react"; import { api, errorText } from "@/lib/api"; import { REPORT_KINDS, type ReportKind } from "@/lib/forum"; /** What to do when someone may be in danger: shown right after a crisis report. */ export function CrisisHelp() { return (
Ha azonnali veszélyt látsz, hívd a 112-t. A lelki elsősegély-szolgálat ingyenes, éjjel-nappal hívható száma: 116-123.
); } /** * "Jelentés" on a post or a private message: what the problem is, an * optional note, and a thank-you (with the helpline for a crisis report). */ export function ReportButton({ path, className = "fp-tool" }: { path: string; className?: string }) { const [open, setOpen] = useState(false); const [kind, setKind] = useStateKöszönjük, a moderátorok megnézik.
{done.crisis &&