import React, { useEffect, useState } from "react"; import style from './DocPageRedirect.module.css' export default function DocPageRedirect() { const [counter, setCounter] = useState(10) useEffect(() => { setTimeout(() => window.location.href = "https://dagger.io", 10000) setInterval(() => setCounter((prevState) => prevState - 1), 1000) }, []) return (

Oups!

It seems you don't have the permission to see Dagger's documentation. But don't worry you can request an Eary Access :). You'll be redirect to Dagger website in {counter} seconds

See you soon !


If nothing happen, click here to go to Dagger website
) }