Skip to content

Commit

Permalink
fix: static bug (#578)
Browse files Browse the repository at this point in the history
* fix: static bug

* update
  • Loading branch information
shhdgit authored Jan 14, 2025
1 parent 4231179 commit 59c157e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/components/Layout/Seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Seo({
link = [],
archived = false,
}: Props) {
const { site, favicon, favicon48 } = useStaticQuery(graphql`
const { site, favicon } = useStaticQuery(graphql`
query {
site {
siteMetadata {
Expand All @@ -35,9 +35,6 @@ export default function Seo({
favicon: file(relativePath: { eq: "favicon.ico" }) {
publicURL
}
favicon48: file(relativePath: { eq: "favicon-48x48.ico" }) {
publicURL
}
}
`);

Expand Down Expand Up @@ -126,11 +123,11 @@ export default function Seo({
...meta,
]}
link={[
{
rel: "icon",
sizes: "48x48",
href: favicon48.publicURL,
},
// {
// rel: "icon",
// sizes: "48x48",
// href: favicon48.publicURL,
// },
{
rel: "icon",
sizes: "256x256",
Expand Down

0 comments on commit 59c157e

Please sign in to comment.