From b8daa53142a54ed4de3151597df93ba0c4d7e755 Mon Sep 17 00:00:00 2001 From: Ivan Gagarinov Date: Fri, 20 Jan 2023 23:43:04 +0500 Subject: [PATCH] add todo --- frontend/src/providers/SnippetsProvider.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/providers/SnippetsProvider.jsx b/frontend/src/providers/SnippetsProvider.jsx index ecfc0fab..5b5a9845 100644 --- a/frontend/src/providers/SnippetsProvider.jsx +++ b/frontend/src/providers/SnippetsProvider.jsx @@ -74,6 +74,7 @@ function SnippetsProvider({ children }) { }; const genSnippetLink = (encodedId) => { + // TODO: переделать на получение ссылки вида /users/${login}/snippets/${slug} const url = new URL(routes.homePagePath(), window.location); url.searchParams.set('snippet', encodedId); return url.toString();