From b1f03669e7a0fab6ccbe7ca3625a4d0f4ed210fe Mon Sep 17 00:00:00 2001 From: Kyler Wong Date: Tue, 5 May 2020 23:22:17 +0800 Subject: [PATCH] using relative over abs path for better ide support --- .../UserPage/Modals/CreateUrlModal/CreateLinkForm.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/components/UserPage/Modals/CreateUrlModal/CreateLinkForm.jsx b/src/client/components/UserPage/Modals/CreateUrlModal/CreateLinkForm.jsx index f4e88fd11..3c7f96cb3 100644 --- a/src/client/components/UserPage/Modals/CreateUrlModal/CreateLinkForm.jsx +++ b/src/client/components/UserPage/Modals/CreateUrlModal/CreateLinkForm.jsx @@ -11,7 +11,10 @@ import { } from '@material-ui/core' import useCreateLinkFormStyles from './styles/useCreateLinkFormStyles' -import { isValidLongUrl, isValidShortUrl } from '~/../shared/util/validation' +import { + isValidLongUrl, + isValidShortUrl, +} from '../../../../../shared/util/validation' import ModalMargins from '../ModalMargins' // Height of the text field in the create link dialog.