fixed capital letters on ask

pull/4809/head
Stéphane Tetsing 6 months ago
parent d3ef2dd459
commit eef2faaf6d
  1. 2
      apps/circuit-compiler/src/app/components/feedbackAlert.tsx
  2. 2
      apps/vyper/src/app/components/CompileErrorCard.tsx
  3. 2
      libs/remix-ui/renderer/src/lib/renderer.tsx

@ -24,7 +24,7 @@ export function FeedbackAlert ({ message, askGPT }: FeedbackAlertProps) {
<span className="border border-success text-success btn-sm" onClick={(e) => { <span className="border border-success text-success btn-sm" onClick={(e) => {
e.stopPropagation() e.stopPropagation()
askGPT() askGPT()
}}>ASK Remix AI</span> }}>Ask Remix AI</span>
</div> </div>
</> </>
</RenderIf> </RenderIf>

@ -21,7 +21,7 @@ export function CompileErrorCard(props: { output: any, plugin: RemixClient }) {
<div className="d-flex flex-column pt-3 align-items-end mb-2"> <div className="d-flex flex-column pt-3 align-items-end mb-2">
<div> <div>
<span className="border border-ai text-ai btn-sm" onClick={async () => await props.plugin.askGpt(props.output.message)}> <span className="border border-ai text-ai btn-sm" onClick={async () => await props.plugin.askGpt(props.output.message)}>
Ask GPT Ask Remix AI
</span> </span>
<span className="ml-3 pt-1 py-1"> <span className="ml-3 pt-1 py-1">
<CopyToClipboard content={props.output.message} className={`p-0 m-0 far fa-copy alert alert-danger`} direction={'top'} /> <CopyToClipboard content={props.output.message} className={`p-0 m-0 far fa-copy alert alert-danger`} direction={'top'} />

@ -111,7 +111,7 @@ export const Renderer = ({ message, opt = {}, plugin }: RendererProps) => {
onClick={() => { askGtp() }} onClick={() => { askGtp() }}
style={{ borderColor: "var(--ai)" }} style={{ borderColor: "var(--ai)" }}
> >
ASK Remix AI Ask Remix AI
</span> </span>
</div> </div>

Loading…
Cancel
Save