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
|
<PluginName
|
||||||
title={`${getPluginTitle(plugin)} ${plugin.version} ${
|
title={`${getPluginTitle(plugin)} ${plugin.version} ${
|
||||||
plugin.details.description ? '- ' + plugin.details.description : ''
|
plugin.details?.description ? '- ' + plugin.details?.description : ''
|
||||||
}`}>
|
}`}>
|
||||||
{getPluginTitle(plugin)}
|
{getPluginTitle(plugin)}
|
||||||
</PluginName>
|
</PluginName>
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ export abstract class FlipperBasePlugin<
|
|||||||
static gatekeeper: string | null = null;
|
static gatekeeper: string | null = null;
|
||||||
static entry: string | null = null;
|
static entry: string | null = null;
|
||||||
static isDefault: boolean;
|
static isDefault: boolean;
|
||||||
static details: PluginDetails;
|
static details: PluginDetails | undefined;
|
||||||
static keyboardActions: KeyboardActions | null;
|
static keyboardActions: KeyboardActions | null;
|
||||||
static screenshot: string | null;
|
static screenshot: string | null;
|
||||||
static defaultPersistedState: any;
|
static defaultPersistedState: any;
|
||||||
|
|||||||
Reference in New Issue
Block a user