mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-06-05 10:11:12 +02:00
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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user