Skip to content

Commit

Permalink
Revert "fix: static bug (#578)" (#579)
Browse files Browse the repository at this point in the history
This reverts commit 59c157e.
  • Loading branch information
shhdgit authored Jan 14, 2025
1 parent 59c157e commit f51b133
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 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 } = useStaticQuery(graphql`
const { site, favicon, favicon48 } = useStaticQuery(graphql`
query {
site {
siteMetadata {
Expand All @@ -35,6 +35,9 @@ export default function Seo({
favicon: file(relativePath: { eq: "favicon.ico" }) {
publicURL
}
favicon48: file(relativePath: { eq: "favicon-48x48.ico" }) {
publicURL
}
}
`);

Expand Down Expand Up @@ -123,11 +126,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 f51b133

Please sign in to comment.