fix: extra newline character
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user