check for the null
Summary: This fixes the bug mentioned [here](https://fb.workplace.com/groups/flippersupport/permalink/976743249473000/) Reviewed By: nikoant Differential Revision: D24016091 fbshipit-source-id: 1ce49d850b6562fb9f09b9e640185316efc927c6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b2261ba1c5
commit
7574cee733
@@ -168,7 +168,7 @@ export const PluginSidebarListItem: React.FC<{
|
||||
/>
|
||||
<PluginName
|
||||
title={`${getPluginTitle(plugin)} ${plugin.version} ${
|
||||
plugin.details.description ? '- ' + plugin.details.description : ''
|
||||
plugin.details?.description ? '- ' + plugin.details?.description : ''
|
||||
}`}>
|
||||
{getPluginTitle(plugin)}
|
||||
</PluginName>
|
||||
|
||||
@@ -126,7 +126,7 @@ export abstract class FlipperBasePlugin<
|
||||
static gatekeeper: string | null = null;
|
||||
static entry: string | null = null;
|
||||
static isDefault: boolean;
|
||||
static details: PluginDetails;
|
||||
static details: PluginDetails | undefined;
|
||||
static keyboardActions: KeyboardActions | null;
|
||||
static screenshot: string | null;
|
||||
static defaultPersistedState: any;
|
||||
|
||||
Reference in New Issue
Block a user