mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 17:25:59 +02:00
refact: prefer function over lambdas
This commit is contained in:
@@ -10,13 +10,13 @@ interface SEOProps {
|
||||
readonly title: string
|
||||
}
|
||||
|
||||
const SEO = ({
|
||||
function SEO({
|
||||
description,
|
||||
lang = "en",
|
||||
meta = [],
|
||||
keywords = [],
|
||||
title,
|
||||
}: SEOProps) => {
|
||||
}: SEOProps) {
|
||||
const { site } = useStaticQuery(
|
||||
graphql`
|
||||
query {
|
||||
|
||||
Reference in New Issue
Block a user