Skip to content

Commit

Permalink
fix: errors shouldn't mess with open frame support flag
Browse files Browse the repository at this point in the history
  • Loading branch information
JFrankfurt committed Sep 20, 2024
1 parent b0ab81d commit 893dfb6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 893dfb6

Please sign in to comment.