From 4c0faef0711ca47c3525e6ce2968b7a4ae6460c0 Mon Sep 17 00:00:00 2001 From: Oliver Eggert Date: Wed, 1 Oct 2025 14:45:24 -0700 Subject: [PATCH] clean up indentation --- @theme/markdoc/components.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/@theme/markdoc/components.tsx b/@theme/markdoc/components.tsx index 03a195ed10..ea43f122bb 100644 --- a/@theme/markdoc/components.tsx +++ b/@theme/markdoc/components.tsx @@ -7,7 +7,7 @@ import { useThemeHooks } from '@redocly/theme/core/hooks' import { idify } from '../helpers' import { Button } from '@redocly/theme/components/Button/Button' -export {default as XRPLoader} from '../components/XRPLoader' +export { default as XRPLoader } from '../components/XRPLoader' export { XRPLCard, CardGrid } from '../components/XRPLCard' export { AmendmentsTable, AmendmentDisclaimer, Badge } from '../components/Amendments' @@ -70,18 +70,18 @@ export function InteractiveBlock(props: { } export function RepoLink(props: { - children: React.ReactNode - path: string - github_fork: string - github_branch: string - }) { - const treeblob = props.path.indexOf(".") >= 0 ? "blob/" : "tree/" - const sep = props.github_fork[-1] == "/" ? "" : "/" - const href = props.github_fork+sep+treeblob+props.github_branch+"/"+props.path + children: React.ReactNode + path: string + github_fork: string + github_branch: string +}) { + const treeblob = props.path.indexOf(".") >= 0 ? "blob/" : "tree/" + const sep = props.github_fork[-1] == "/" ? "" : "/" + const href = props.github_fork+sep+treeblob+props.github_branch+"/"+props.path - return ( - {dynamicReact(props.children, React, {})} - ) + return ( + {dynamicReact(props.children, React, {})} + ) } export function CodePageName(props: {