fix(desktop): corrige logo na tela de registro
Some checks failed
CI/CD Web + Desktop / Deploy Convex functions (push) Blocked by required conditions
CI/CD Web + Desktop / Detect changes (push) Successful in 5s
CI/CD Web + Desktop / Deploy (VPS Linux) (push) Has been cancelled
Quality Checks / Lint, Test and Build (push) Has been cancelled
Some checks failed
CI/CD Web + Desktop / Deploy Convex functions (push) Blocked by required conditions
CI/CD Web + Desktop / Detect changes (push) Successful in 5s
CI/CD Web + Desktop / Deploy (VPS Linux) (push) Has been cancelled
Quality Checks / Lint, Test and Build (push) Has been cancelled
- Adiciona logo-raven.png local no public do desktop - Usa logo local como padrao em vez de buscar do servidor - Fallback continua buscando do servidor se local falhar 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
993bd3890a
commit
eb284a7f50
2 changed files with 2 additions and 2 deletions
BIN
apps/desktop/public/logo-raven.png
Normal file
BIN
apps/desktop/public/logo-raven.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 MiB |
|
|
@ -313,7 +313,7 @@ function App() {
|
||||||
const [token, setToken] = useState<string | null>(null)
|
const [token, setToken] = useState<string | null>(null)
|
||||||
const [config, setConfig] = useState<AgentConfig | null>(null)
|
const [config, setConfig] = useState<AgentConfig | null>(null)
|
||||||
const [profile, setProfile] = useState<MachineProfile | null>(null)
|
const [profile, setProfile] = useState<MachineProfile | null>(null)
|
||||||
const [logoSrc, setLogoSrc] = useState<string>(() => `${appUrl}/logo-raven.png`)
|
const [logoSrc, setLogoSrc] = useState<string>("/logo-raven.png")
|
||||||
const [error, setError] = useState<string | null>(null)
|
const [error, setError] = useState<string | null>(null)
|
||||||
const [busy, setBusy] = useState(false)
|
const [busy, setBusy] = useState(false)
|
||||||
const [status, setStatus] = useState<string | null>(null)
|
const [status, setStatus] = useState<string | null>(null)
|
||||||
|
|
@ -1644,7 +1644,7 @@ const resolvedAppUrl = useMemo(() => {
|
||||||
onError={() => {
|
onError={() => {
|
||||||
if (logoFallbackRef.current) return
|
if (logoFallbackRef.current) return
|
||||||
logoFallbackRef.current = true
|
logoFallbackRef.current = true
|
||||||
setLogoSrc(`${appUrl}/raven.png`)
|
setLogoSrc(`${appUrl}/logo-raven.png`)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<div className="flex flex-col items-center gap-2">
|
<div className="flex flex-col items-center gap-2">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue