瀏覽代碼

fix: remove div

GyDi 1 年之前
父節點
當前提交
7854775de5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/components/proxy/provider-button.tsx

+ 2 - 2
src/components/proxy/provider-button.tsx

@@ -58,14 +58,14 @@ export const ProviderButton = () => {
                 <ListItemText
                   primary={key}
                   secondary={
-                    <div>
+                    <>
                       <span style={{ marginRight: "4em" }}>
                         Type: {item.vehicleType}
                       </span>
                       <span title={time.format("YYYY-MM-DD HH:mm:ss")}>
                         Updated: {time.fromNow()}
                       </span>
-                    </div>
+                    </>
                   }
                 />
                 <IconButton