No need for the action as can link direct to /account/plan

This commit is contained in:
Hugh Nimmo-Smith committed 2025-04-23 19:24:44 +01:00
1 parent 0f82979336
commit 074f8ffae7
1 file changed
-7
-7
View File
@@ -83,9 +83,6 @@ const actionSchema = v.variant("action", [
v.object({
action: v.literal("org.matrix.cross_signing_reset"),
}),
v.object({
action: v.literal("org.matrix.plan_management"),
}),
v.partial(
v.looseObject({
action: v.never(),
@@ -129,10 +126,6 @@ export const Route = createFileRoute("/_account/")({
to: "/reset-cross-signing",
search: { deepLink: true },
});
case "org.matrix.plan_management":
throw redirect({
to: "/plan",
});
}
},