mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-06 05:03:45 +08:00
chore: update
This commit is contained in:
parent
fdc8a83f25
commit
b5fddf8fa1
@ -59,7 +59,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
return url.substring(url.lastIndexOf("/") + 1);
|
return url.substring(url.lastIndexOf("/") + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 0 && !group.hidden) {
|
if (type === 0) {
|
||||||
return (
|
return (
|
||||||
<ListItemButton
|
<ListItemButton
|
||||||
dense
|
dense
|
||||||
@ -125,7 +125,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 1 && !group.hidden) {
|
if (type === 1) {
|
||||||
return (
|
return (
|
||||||
<ProxyHead
|
<ProxyHead
|
||||||
sx={{ pl: 2, pr: 3, mt: indent ? 1 : 0.5, mb: 1 }}
|
sx={{ pl: 2, pr: 3, mt: indent ? 1 : 0.5, mb: 1 }}
|
||||||
@ -139,7 +139,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 2 && !group.hidden) {
|
if (type === 2) {
|
||||||
return (
|
return (
|
||||||
<ProxyItem
|
<ProxyItem
|
||||||
group={group}
|
group={group}
|
||||||
@ -152,7 +152,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 3 && !group.hidden) {
|
if (type === 3) {
|
||||||
return (
|
return (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
@ -170,7 +170,7 @@ export const ProxyRender = (props: RenderProps) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === 4 && !group.hidden) {
|
if (type === 4) {
|
||||||
const proxyColItemsMemo = useMemo(() => {
|
const proxyColItemsMemo = useMemo(() => {
|
||||||
return proxyCol?.map((proxy) => (
|
return proxyCol?.map((proxy) => (
|
||||||
<ProxyItemMini
|
<ProxyItemMini
|
||||||
|
Loading…
x
Reference in New Issue
Block a user