ImagesTable: Fix "no-unnecessary-condition" issues

This commit is contained in:
regexowl 2025-01-17 09:25:35 +01:00 committed by Lucas Garfield
parent d2b644b65f
commit 607f2ee3c7
5 changed files with 7 additions and 11 deletions

View file

@ -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 {