Skip to content

Commit

Permalink
fix server render error
Browse files Browse the repository at this point in the history
  • Loading branch information
Gkrumbach07 committed Oct 15, 2024
1 parent 2627d23 commit 1bd3687
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/pages/docs/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import React, { useEffect } from 'react'
import { navigate } from "gatsby"

const DocsRedirect = () => {
navigate("/docs/getting-started-with-open-data-hub")
const DocsRedirect: React.FC = () => {
useEffect(() => {
navigate("/docs/getting-started-with-open-data-hub")
}, [])

return null
}

export default DocsRedirect

0 comments on commit 1bd3687

Please sign in to comment.