Commit 94c53804 by archer

fix: quick question and variable

parent a1bcd798
...@@ -565,6 +565,9 @@ const ChatBox = ( ...@@ -565,6 +565,9 @@ const ChatBox = (
label: item.value, label: item.value,
value: item.value value: item.value
}))} }))}
{...register(item.key, {
required: item.required
})}
value={getValues(item.key)} value={getValues(item.key)}
onchange={(e) => { onchange={(e) => {
setValue(item.key, e); setValue(item.key, e);
......
...@@ -334,6 +334,9 @@ ...@@ -334,6 +334,9 @@
background-color: transparent; background-color: transparent;
border: medium none; border: medium none;
} }
.markdown hr {
margin: 10px 0;
}
.markdown { .markdown {
text-align: justify; text-align: justify;
tab-size: 4; tab-size: 4;
......
import React, { useCallback, useMemo } from 'react'; import React, { useMemo } from 'react';
import ReactMarkdown from 'react-markdown'; import ReactMarkdown from 'react-markdown';
import RemarkGfm from 'remark-gfm'; import RemarkGfm from 'remark-gfm';
import RemarkMath from 'remark-math'; import RemarkMath from 'remark-math';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment