removed dead space

This commit is contained in:
Godfrey M 2023-10-03 12:32:24 -07:00
parent 92776adb93
commit c69958d95d

View file

@ -30,7 +30,6 @@ class ComponentCheckinController extends Controller
// This could probably be done more cleanly but I am very tired. - @snipe // This could probably be done more cleanly but I am very tired. - @snipe
if ($component_assets = DB::table('components_assets')->find($component_asset_id)) { if ($component_assets = DB::table('components_assets')->find($component_asset_id)) {
if (is_null($component = Component::find($component_assets->component_id))) { if (is_null($component = Component::find($component_assets->component_id))) {
return redirect()->route('components.index')->with('error', trans('admin/components/messages.not_found')); return redirect()->route('components.index')->with('error', trans('admin/components/messages.not_found'));
} }