From e5eb134ae6ba189e34e549d7d0da8855c9f91fa0 Mon Sep 17 00:00:00 2001 From: Saumya Pandey Date: Fri, 27 Aug 2021 01:44:51 +0530 Subject: [PATCH] Use newDocumentUrl helper --- app/components/NewDocumentButton.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/NewDocumentButton.js b/app/components/NewDocumentButton.js index 4ad97ca027..afa6d876eb 100644 --- a/app/components/NewDocumentButton.js +++ b/app/components/NewDocumentButton.js @@ -4,12 +4,13 @@ import * as React from "react"; import { useTranslation } from "react-i18next"; import { Link } from "react-router-dom"; import Button from "components/Button"; +import { newDocumentUrl } from "utils/routeHelpers"; const NewDocumentButton = () => { const { t } = useTranslation(); return ( - );