From 0ab6b3241bf4d2a91d8a64a7a44523676734ddd4 Mon Sep 17 00:00:00 2001 From: FadhilP <fadhilpradipta0@gmail.com> Date: Fri, 8 Jan 2021 21:52:03 +0700 Subject: [PATCH] fix redirect --- diskuy/src/Form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diskuy/src/Form.js b/diskuy/src/Form.js index 5ec4834..1aa9610 100644 --- a/diskuy/src/Form.js +++ b/diskuy/src/Form.js @@ -27,7 +27,7 @@ export default function Form(props){ } }, {headers: authHeader()}) - props.history.push(`topic/${topicParam}`) + props.history.push(`/topic/${topicParam}`) } catch(error){ -- GitLab