Skip to content

Commit

Permalink
Add message if no matching route
Browse files Browse the repository at this point in the history
  • Loading branch information
brettimus committed Dec 18, 2024
1 parent 8d12398 commit 64b8401
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function AddToRouteForm(props: Props) {
// No active route? Then there's nothing to do here
if (!activeRoute) {
console.warn("No active route");
return null;
return <div>No matching route found</div>;
}

if (isLoading || !collections) {
Expand Down

0 comments on commit 64b8401

Please sign in to comment.