Открыть боковую панель
Teknokomo
universo-react
Коммиты
fc9bf9cd
Не подтверждена
Коммит
fc9bf9cd
создал
Мар 11, 2024
по автору
Jason
Зафиксировано автором
GitHub
Мар 11, 2024
Просмотр файлов
chore(component): simplify code (#6056)
владелец
d81c0172
Изменения
2
Скрыть пробелы
Построчно
Рядом
packages/frontend/component/src/components/setting-components/workspace-detail-skeleton.tsx
Просмотр файла @
fc9bf9cd
...
...
@@ -8,19 +8,15 @@ export const WorkspaceDetailSkeleton = () => {
<>
<
SettingHeader
title
=
{
<
Skeleton
/>
}
subtitle
=
{
<
Skeleton
/>
}
/>
{
Array
.
from
({
length
:
3
})
.
fill
(
0
)
.
map
((
_
,
index
)
=>
{
return
(
<
SettingWrapper
title
=
{
<
Skeleton
/>
}
key
=
{
index
}
>
<
SettingRow
name
=
{
<
Skeleton
/>
}
desc
=
{
<
Skeleton
/>
}
spreadCol
=
{
false
}
></
SettingRow
>
</
SettingWrapper
>
);
})
}
{
Array
.
from
({
length
:
3
},
(
_
,
index
)
=>
(
<
SettingWrapper
title
=
{
<
Skeleton
/>
}
key
=
{
index
}
>
<
SettingRow
name
=
{
<
Skeleton
/>
}
desc
=
{
<
Skeleton
/>
}
spreadCol
=
{
false
}
></
SettingRow
>
</
SettingWrapper
>
))
}
</>
);
};
packages/frontend/component/src/components/setting-components/workspace-list-skeleton.tsx
Просмотр файла @
fc9bf9cd
...
...
@@ -26,11 +26,9 @@ export const WorkspaceListItemSkeleton = () => {
export
const
WorkspaceListSkeleton
=
()
=>
{
return
(
<>
{
Array
.
from
({
length
:
5
})
.
fill
(
0
)
.
map
((
_
,
index
)
=>
{
return
<
WorkspaceListItemSkeleton
key
=
{
index
}
/>;
})
}
{
Array
.
from
({
length
:
5
},
(
_
,
index
)
=>
(
<
WorkspaceListItemSkeleton
key
=
{
index
}
/>
))
}
</>
);
};
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать