Skip to content

Commit

Permalink
[Package]: migrate GlobalSearchLoadingState component to TypeScript (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
raskolnikov-rodion authored Jun 7, 2024
1 parent 0cb6267 commit 9b9bd69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Grid, Grow, Skeleton } from "@mui/material";

function GlobalSearchLoadingState() {
const listItemsToShow = new Array(4).fill(0);
const listItemsToShow = new Array<number>(4).fill(0);
return (
<Grow appear in>
<div>
Expand All @@ -14,7 +14,7 @@ function GlobalSearchLoadingState() {
marginBottom: "1rem",
}}
>
<Skeleton animation="wave" variant="circle" width="2rem" height="2rem" />
<Skeleton animation="wave" variant="circular" width="2rem" height="2rem" />
<Skeleton variant="text" animation="wave" width="10vw" height="3vh" />
</Grid>
{listItemsToShow.map((_item, index) => (
Expand Down

0 comments on commit 9b9bd69

Please sign in to comment.