feat: 本次提交更新内容如下
初级语法告警
This commit is contained in:
@@ -193,18 +193,18 @@ export default function MomentsSync() {
|
||||
}
|
||||
};
|
||||
|
||||
const getStatusIcon = (status: string) => {
|
||||
switch (status) {
|
||||
case 'running':
|
||||
return <CheckCircle className="h-4 w-4 text-green-500" />;
|
||||
case 'paused':
|
||||
return <XCircle className="h-4 w-4 text-gray-500" />;
|
||||
case 'completed':
|
||||
return <CheckCircle className="h-4 w-4 text-blue-500" />;
|
||||
default:
|
||||
return <XCircle className="h-4 w-4 text-gray-500" />;
|
||||
}
|
||||
};
|
||||
// const getStatusIcon = (status: string) => {
|
||||
// switch (status) {
|
||||
// case 'running':
|
||||
// return <CheckCircle className="h-4 w-4 text-green-500" />;
|
||||
// case 'paused':
|
||||
// return <XCircle className="h-4 w-4 text-gray-500" />;
|
||||
// case 'completed':
|
||||
// return <CheckCircle className="h-4 w-4 text-blue-500" />;
|
||||
// default:
|
||||
// return <XCircle className="h-4 w-4 text-gray-500" />;
|
||||
// }
|
||||
// };
|
||||
|
||||
return (
|
||||
<Layout
|
||||
|
||||
Reference in New Issue
Block a user