mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 04:05:49 +00:00
feat: migrate to the realm rc version
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useTranslate } from "@portal/hooks";
|
||||
import { useThemeHooks } from '@redocly/theme/core/hooks';
|
||||
import { Connection } from './types';
|
||||
import { useRef, useState } from 'react';
|
||||
import { Modal, ModalClipboardBtn, ModalCloseBtn } from '../Modal';
|
||||
@@ -37,6 +37,7 @@ export const CurlModal: React.FC<CurlProps> = ({
|
||||
selectedConnection,
|
||||
}) => {
|
||||
const curlRef = useRef(null);
|
||||
const { useTranslate } = useThemeHooks();
|
||||
const { translate } = useTranslate();
|
||||
const footer = <>
|
||||
<ModalClipboardBtn textareaRef={curlRef} />
|
||||
|
||||
Reference in New Issue
Block a user