Skip to content
Snippets Groups Projects
Commit 69998f7d authored by 정원제's avatar 정원제 :guitar:
Browse files

hotfix: PC 이름 변경 시 상단 이름도 바뀌게 변경

parent b97b5f01
Branches
No related tags found
No related merge requests found
Pipeline #10846 passed
......@@ -74,6 +74,9 @@ const CertifiedCombination = () => {
setPcs(pcs.map(pc =>
pc.id === pcId ? { ...pc, name: newName } : pc
));
if (selectedPc?.id === pcId) {
setSelectedPc(prev => ({ ...prev, name: newName }));
}
} catch (error) {
console.error("PC 이름 변경 중 오류 발생:", error);
throw error;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment