Fix selection not updating

Summary: Fix accidental cleanup last week where selection wasn't updated anymore in crash reporter

Reviewed By: cekkaewnumchai

Differential Revision: D29328297

fbshipit-source-id: 4a5eb391d1a173e5e7ff189637c3731a483916fc
This commit is contained in:
Michel Weststrate
2021-06-23 04:03:30 -07:00
committed by Facebook GitHub Bot
parent 603cd08767
commit 16e668df9c

View File

@@ -38,6 +38,9 @@ export function Crashes() {
description: `${crash.date.toLocaleString()} - ${crash.name}`,
}))}
selection={selectedCrashId}
onSelect={(id) => {
plugin.selectedCrash.set(id);
}}
onRenderEmpty={null}
/>
{selectedCrash ? (