Commit ea61194c authored by Chunchi Che's avatar Chunchi Che

optimize small

parent 37abfc37
Pipeline #22705 passed with stages
in 9 minutes and 37 seconds
......@@ -19,7 +19,6 @@ import {
Space,
Upload,
} from "antd";
import { clone } from "lodash-es";
import React, { useEffect, useState } from "react";
import { useNavigate, useParams } from "react-router-dom";
import rustInit from "rust-src";
......@@ -143,7 +142,7 @@ const WaitRoom = () => {
sendUpdateDeck(deck);
setChoseDeck(true);
window.myExtraDeckCodes = clone(deck.extra);
window.myExtraDeckCodes = [...deck.extra];
};
const handleChoseDeck = async (deckName: string) => {
......
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 to comment