From 76e57e3a163a99080b37ad28863fbc0b22f3122e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Bustos?= Date: Fri, 20 Dec 2024 00:20:26 +0100 Subject: [PATCH] Update default state value in Generator component to block all bots --- src/components/generator/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/generator/index.tsx b/src/components/generator/index.tsx index 281c722..b2d6da8 100644 --- a/src/components/generator/index.tsx +++ b/src/components/generator/index.tsx @@ -27,7 +27,7 @@ export interface Configuration { } export default function Generator() { - const [value, setValue] = useState(""); + const [value, setValue] = useState("User-agent: *\nDisallow:"); const [selectedBots, setSelectedBots] = useState({}); const [blockAllBots, setBlockAllBots] = useState(false);