Skip to content

Commit

Permalink
fix: pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
smackfu committed Oct 25, 2024
1 parent b5b069c commit 1bef3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/parrot-core/src/utils/getParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { match } from 'path-to-regexp';
export default function getParams(path, route) {
const matchRoute = match(route);
const result = matchRoute(path);
if (result === false) {
if (!result) {
return {};
}
return result.params;
Expand Down

0 comments on commit 1bef3f4

Please sign in to comment.