From 2cb977eb49c461e949ed91cb5f450961bec2bcf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl?= Date: Wed, 20 Dec 2023 11:27:27 +0300 Subject: [PATCH] fix(website): fix docusaurus warnings (#526) ### Describe your change Fix docusaurus warnings on the website ### Motivation and context Solves [MET-307](https://metatype.atlassian.net/jira/software/c/projects/MET/boards/2?selectedIssue=MET-307) ### Migration notes ### Checklist - [ ] The change come with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [x] End-user documentation is updated to reflect the change --- website/docs/reference/typegate/authentication/oauth2.tsx | 7 ++++--- website/src/components/MiniQL/index.tsx | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/website/docs/reference/typegate/authentication/oauth2.tsx b/website/docs/reference/typegate/authentication/oauth2.tsx index cff41d199e..f946d2b6c4 100644 --- a/website/docs/reference/typegate/authentication/oauth2.tsx +++ b/website/docs/reference/typegate/authentication/oauth2.tsx @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Elastic-2.0 import React, { useCallback, useState } from "react"; +import Link from "@docusaurus/Link"; import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; import BrowserOnly from "@docusaurus/BrowserOnly"; @@ -30,10 +31,10 @@ function OAuth2({ name, typegraph }) { )}`; return (

- Start the flow via {url} and take token by clicking{" "} - + Start the flow via {url} and take token by clicking{" "} + here - + :
See/edit full code on{" "} - {codeFileUrl} - + ) : null} {code ? (