kyd-shared-badge 0.3.82 → 0.3.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kyd-shared-badge",
3
- "version": "0.3.82",
3
+ "version": "0.3.83",
4
4
  "private": false,
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",
@@ -208,8 +208,8 @@ export function ConnectAccounts(props: ConnectAccountsProps) {
208
208
  }, [connected]);
209
209
  const isGithubConnected = !!githubConnectedAccount;
210
210
  const isGithubAppInstalled = useMemo(() => {
211
- const setupAction = (githubConnectedAccount as any)?.app_installation_info?.setupAction;
212
- return setupAction === 'install';
211
+ const setupAction = githubConnectedAccount?.app_installation_info?.setupAction;
212
+ return setupAction === 'install' || setupAction === 'created';
213
213
  }, [githubConnectedAccount]);
214
214
 
215
215
  return (