mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-22 12:45:50 +00:00
WS Tool fixes: cURL modal, Clio Only
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import clsx from 'clsx'
|
||||
import * as React from 'react';
|
||||
import { useThemeHooks } from '@redocly/theme/core/hooks';
|
||||
import * as React from 'react'
|
||||
import { useThemeHooks } from '@redocly/theme/core/hooks'
|
||||
|
||||
const alertStyle = {
|
||||
position: "relative",
|
||||
@@ -30,7 +30,7 @@ interface AlertTemplateProps {
|
||||
}
|
||||
|
||||
export default function AlertTemplate ({ message, options, style, close }: AlertTemplateProps): React.JSX.Element {
|
||||
const { useTranslate } = useThemeHooks();
|
||||
const { useTranslate } = useThemeHooks()
|
||||
const { translate } = useTranslate()
|
||||
return(
|
||||
<div className={clsx("bootstrap-growl alert alert-dismissible", typeToClass(options.type))} style={{ ...alertStyle, ...style }}>
|
||||
|
||||
Reference in New Issue
Block a user