We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
App.tsx
1 parent 1604ab4 commit cdbcb4aCopy full SHA for cdbcb4a
packages/primer-app/src/App.tsx
@@ -12,6 +12,9 @@ const App = (): JSX.Element => {
12
<Error string={"No session id parameter: " + JSON.stringify(params)} />
13
);
14
}
15
+ // This hook is *technically* conditional.
16
+ // But if the condition above fails, then the app is broken anyway.
17
+ // eslint-disable-next-line react-hooks/rules-of-hooks
18
const queryRes = useGetApiProgram({ session });
19
20
if (!queryRes.isSuccess) {
0 commit comments