mirror of
https://github.com/thegeneralist01/archivr
synced 2026-10-09 12:55:00 +02:00
When both detail and selectedEntry are null (initial render or mid-navigation while a detail fetch is in flight), detail?.summary?.entry_uid and selectedEntry?.entry_uid both evaluate to undefined, making the equality true and causing a crash on detail.latest_summary. Add selectedEntry?.entry_uid != null guard so the condition short-circuits false whenever there is no real selection.
15 lines
515 B
HTML
15 lines
515 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Archivr</title>
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
<script type="module" crossorigin src="/assets/index-BxBKvOHp.js"></script>
|
|
<link rel="stylesheet" crossorigin href="/assets/index-1h0SqIvL.css">
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
</body>
|
|
</html>
|