diff --git a/src/renderer/src/components/github-project/GhAuthErrorHelp.tsx b/src/renderer/src/components/github-project/GhAuthErrorHelp.tsx index 793bfec5575..2b93194fe94 100644 --- a/src/renderer/src/components/github-project/GhAuthErrorHelp.tsx +++ b/src/renderer/src/components/github-project/GhAuthErrorHelp.tsx @@ -9,7 +9,7 @@ * is actually doing: env-shadow vs. plain missing-scope vs. not-installed. */ import { useEffect, useState } from 'react' -import { Copy, ExternalLink } from 'lucide-react' +import { Copy, ExternalLink, RotateCw } from 'lucide-react' import { toast } from 'sonner' import { Button } from '@/components/ui/button' import type { GitHubProjectViewError } from '@/../../shared/github-project-types' @@ -224,6 +224,15 @@ export function GhAuthErrorHelp({ Docs ) : null} + {/* Why: after running the refresh command in a terminal, users need to + reload the renderer to pick up the new gh token state. */} + ) @@ -250,6 +259,11 @@ export function GhAuthErrorHelp({ Docs ) : null} + {/* Why: after running the refresh command in a terminal, users need to + reload the renderer to pick up the new gh token state. */} + )