Skip to content

Commit 59c157e

Browse files
authored
fix: static bug (#578)
* fix: static bug * update
1 parent 4231179 commit 59c157e

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

src/components/Layout/Seo.tsx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function Seo({
2323
link = [],
2424
archived = false,
2525
}: Props) {
26-
const { site, favicon, favicon48 } = useStaticQuery(graphql`
26+
const { site, favicon } = useStaticQuery(graphql`
2727
query {
2828
site {
2929
siteMetadata {
@@ -35,9 +35,6 @@ export default function Seo({
3535
favicon: file(relativePath: { eq: "favicon.ico" }) {
3636
publicURL
3737
}
38-
favicon48: file(relativePath: { eq: "favicon-48x48.ico" }) {
39-
publicURL
40-
}
4138
}
4239
`);
4340

@@ -126,11 +123,11 @@ export default function Seo({
126123
...meta,
127124
]}
128125
link={[
129-
{
130-
rel: "icon",
131-
sizes: "48x48",
132-
href: favicon48.publicURL,
133-
},
126+
// {
127+
// rel: "icon",
128+
// sizes: "48x48",
129+
// href: favicon48.publicURL,
130+
// },
134131
{
135132
rel: "icon",
136133
sizes: "256x256",

0 commit comments

Comments
 (0)