From 0653718beb5b27e7cc2a88f72ba74563ca5545ef Mon Sep 17 00:00:00 2001 From: Ivan Izobov <54995954+Izobov@users.noreply.github.com> Date: Thu, 21 Nov 2024 02:35:57 +0000 Subject: [PATCH] refactor: remove unnecessary comments and streamline response handling in +page.ts --- .../article/edit/[...permalink]/[lang=lang]/+page.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/routes/(scores)/u/author/article/edit/[...permalink]/[lang=lang]/+page.ts b/src/routes/(scores)/u/author/article/edit/[...permalink]/[lang=lang]/+page.ts index 286ab84a7..53400092d 100644 --- a/src/routes/(scores)/u/author/article/edit/[...permalink]/[lang=lang]/+page.ts +++ b/src/routes/(scores)/u/author/article/edit/[...permalink]/[lang=lang]/+page.ts @@ -18,12 +18,7 @@ export const load = (async ({ fetch, params }) => { authorArticleUrl: permalink } - ), - /** - * @description - * 📣 `Data` object for target `route`. - */ - response: any = {} + ) ; if (!isUrlValid)