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:
committed by
Facebook GitHub Bot
parent
603cd08767
commit
16e668df9c
@@ -38,6 +38,9 @@ export function Crashes() {
|
|||||||
description: `${crash.date.toLocaleString()} - ${crash.name}`,
|
description: `${crash.date.toLocaleString()} - ${crash.name}`,
|
||||||
}))}
|
}))}
|
||||||
selection={selectedCrashId}
|
selection={selectedCrashId}
|
||||||
|
onSelect={(id) => {
|
||||||
|
plugin.selectedCrash.set(id);
|
||||||
|
}}
|
||||||
onRenderEmpty={null}
|
onRenderEmpty={null}
|
||||||
/>
|
/>
|
||||||
{selectedCrash ? (
|
{selectedCrash ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user