ImagesTable: Fix "no-unnecessary-condition" issues
This commit is contained in:
parent
d2b644b65f
commit
607f2ee3c7
5 changed files with 7 additions and 11 deletions
|
|
@ -76,7 +76,7 @@ const ImagesTableToolbar: React.FC<imagesTableToolbarProps> = ({
|
|||
{ search: blueprintSearchInput as string },
|
||||
{
|
||||
selectFromResult: ({ data }) => {
|
||||
const bp = data?.data?.find(
|
||||
const bp = data?.data.find(
|
||||
(blueprint: BlueprintItem) => blueprint.id === selectedBlueprintId
|
||||
);
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue