Skip to content

Commit

Permalink
refactor(PublicationLoader.tsx): remove unused import and component t…
Browse files Browse the repository at this point in the history
…o clean up code

The PublicationHeader component and its import were removed as they were unused, resulting in a cleaner and more maintainable codebase.
  • Loading branch information
ktun95 committed Nov 28, 2024
1 parent 0a9312e commit 3b0a01a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
import React from "react"
import Grid from "@material-ui/core/Grid"
import { Skeleton } from "@mui/material"
import { PublicationHeader } from "./PublicationHeader"
import { useStyles } from "../styles/publicationStyles"
import { useStyles } from "./useStyles"

const PublicationLoader = () => {
const classes = useStyles()

return (
<Grid container justify="center" spacing={2} data-testid="skeleton-loader">
<Grid item xs={12}>
<PublicationHeader />
</Grid>
<Grid item xs={12} sm={2} className={classes.sidebar}>
<Skeleton variant="text" width="60%" animation="wave" />
<Skeleton variant="text" width="40%" animation="wave" />
Expand Down

0 comments on commit 3b0a01a

Please sign in to comment.