From f4477bc907b4bc1f00551e35dbd9ee28f717bd58 Mon Sep 17 00:00:00 2001 From: blam Date: Mon, 8 Nov 2021 17:44:28 +0100 Subject: [PATCH] chore: fix the return type I missed Signed-off-by: blam --- packages/core-plugin-api/src/routing/RouteRef.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core-plugin-api/src/routing/RouteRef.ts b/packages/core-plugin-api/src/routing/RouteRef.ts index 499866a435..26e63c8f3a 100644 --- a/packages/core-plugin-api/src/routing/RouteRef.ts +++ b/packages/core-plugin-api/src/routing/RouteRef.ts @@ -80,7 +80,7 @@ export class RouteRefImpl /** @deprecated use `useRouteRef` instead */ get path() { - return this; + return this.config.path ?? ''; } get icon() {