fix: quick question and variable

This commit is contained in:
archer
2023-09-04 14:45:01 +08:00
parent a1bcd798e1
commit 94c53804ce
3 changed files with 7 additions and 1 deletions

View File

@@ -565,6 +565,9 @@ const ChatBox = (
label: item.value,
value: item.value
}))}
{...register(item.key, {
required: item.required
})}
value={getValues(item.key)}
onchange={(e) => {
setValue(item.key, e);

View File

@@ -334,6 +334,9 @@
background-color: transparent;
border: medium none;
}
.markdown hr {
margin: 10px 0;
}
.markdown {
text-align: justify;
tab-size: 4;

View File

@@ -1,4 +1,4 @@
import React, { useCallback, useMemo } from 'react';
import React, { useMemo } from 'react';
import ReactMarkdown from 'react-markdown';
import RemarkGfm from 'remark-gfm';
import RemarkMath from 'remark-math';