fix: extra newline character

This commit is contained in:
jialin
2025-11-16 11:54:27 +08:00
parent 825687f2a8
commit e8a0f33bde
3 changed files with 28 additions and 27 deletions
@@ -32,7 +32,7 @@ const AddWorkerCommand: React.FC<ViewModalProps> = ({
token: registrationInfo.token || '${token}'
})
?.trim()
.replace(/\\\s+$/gm, '')
.replace(/\s+$/gm, '')
.replace(/\\+$/, '');
}, [registrationInfo, currentGPU, workerIP, modelDir]);
@@ -18,6 +18,12 @@ const Box = styled.div`
&.step-collapse-open {
border-color: var(--ant-color-primary);
}
&:not(.step-collapse-open):hover {
.ant-card-head {
background-color: var(--ant-color-fill-tertiary) !important;
transition: background-color 0.3s;
}
}
`;
const ButtonWrapper = styled.div`