From 4bfd3309c9b2695ff3b1cb080099731a1c73179f Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Fri, 20 Sep 2024 13:10:22 -0500 Subject: [PATCH] fix: errors shouldn't mess with open frame support flag (#1008) --- .../Basenames/UsernameProfileSectionFrames/Frame.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/components/Basenames/UsernameProfileSectionFrames/Frame.tsx b/apps/web/src/components/Basenames/UsernameProfileSectionFrames/Frame.tsx index 480b7a449d..998e688c39 100644 --- a/apps/web/src/components/Basenames/UsernameProfileSectionFrames/Frame.tsx +++ b/apps/web/src/components/Basenames/UsernameProfileSectionFrames/Frame.tsx @@ -48,6 +48,9 @@ export default function Frame({ url, className }: FrameProps) { const currentFrameStackItem = openFrameState.currentFrameStackItem; if (!currentFrameStackItem) return false; const status = currentFrameStackItem.status; + if (status === 'requestError') { + return true; + } if (status === 'done' && currentFrameStackItem.frameResult.frame.accepts) { return currentFrameStackItem.frameResult.frame.accepts.some( (element) => element.id === 'anonymous',