fix: hide "new events" button when follow mode is enabled

The button is redundant in follow mode since events auto-refresh.

https://claude.ai/code/session_01Tv9Th39LyQwctwEWqqDVNo
This commit is contained in:
Claude
2026-01-27 10:27:56 +00:00
parent 92651a60aa
commit 69b1c03888

View File

@@ -1358,8 +1358,8 @@ export default function ReqViewer({
{/* Results */}
{(!needsAccount || accountPubkey) && (
<div className="flex-1 overflow-y-auto relative">
{/* Floating "New Events" Button */}
{isFrozen && newEventCount > 0 && (
{/* Floating "New Events" Button (hidden in follow mode) */}
{isFrozen && newEventCount > 0 && !follow && (
<div className="absolute bottom-4 left-1/2 -translate-x-1/2 z-10">
<Button
onClick={handleUnfreeze}