diff --git a/src/Panel.tsx b/src/Panel.tsx index f337fe5d..1e0d6876 100644 --- a/src/Panel.tsx +++ b/src/Panel.tsx @@ -46,11 +46,16 @@ export const Panel = ({ active, api }: PanelProps) => { } = useProjectId(); // Render the Authentication flow if the user is not signed in. - if (!accessToken) return ; + if (!accessToken) + return ( + + ); // Momentarily wait on addonState (should be very fast) if (projectInfoLoading || !gitInfo) { - return ; + return active ? : null; } if (!projectId)