[fix] bug
This commit is contained in:
@@ -159,7 +159,7 @@ const SDGame = (props: ISDGame) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function AddLog(s: string) {
|
function AddLog(s: string) {
|
||||||
const todayTimeStr: string = dayjs().format("YYYY/MM/DD 00:00:00");
|
const todayTimeStr: string = dayjs().format("YYYY/MM/DD HH:mm:ss");
|
||||||
setLog((v) => {
|
setLog((v) => {
|
||||||
if (v.length > 100) {
|
if (v.length > 100) {
|
||||||
v.pop();
|
v.pop();
|
||||||
|
|||||||
Reference in New Issue
Block a user