From 3b8a1ce7eeb0159e20b33364f64c7114738023f2 Mon Sep 17 00:00:00 2001
From: dmitriylaukhin
Date: Tue, 9 Jun 2026 10:53:01 +0500
Subject: [PATCH] Link question author name to their admin profile
Co-Authored-By: Claude Opus 4.8
---
src/components/questions/QuestionSplitView.tsx | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/components/questions/QuestionSplitView.tsx b/src/components/questions/QuestionSplitView.tsx
index 0d5cf30..ebbbef5 100644
--- a/src/components/questions/QuestionSplitView.tsx
+++ b/src/components/questions/QuestionSplitView.tsx
@@ -1,6 +1,7 @@
"use client";
import { useState, useEffect, useCallback, useRef } from "react";
+import Link from "next/link";
import { linkify } from "@/lib/linkify";
interface FileAttachment {
@@ -283,7 +284,14 @@ export function QuestionSplitView({ currentUserId }: { currentUserId: string })
{detail.title}
- {detail.user.name} ·{" "}
+
+ {detail.user.name}
+ {" "}
+ ·{" "}
{new Date(detail.createdAt).toLocaleDateString("ru", {
day: "numeric",
month: "long",