aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/modals
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2020-05-25 22:25:35 -0700
committerjackyzha0 <[email protected]>2020-05-25 22:25:35 -0700
commit91629188d7e2810b4e7c9f767a69e91fcd532f87 (patch)
tree8e40696cfcaa376c966a7424e587fa83d3681e5a /frontend/src/components/modals
parentuse origin instead (diff)
downloadctrl-v-91629188d7e2810b4e7c9f767a69e91fcd532f87.tar.xz
ctrl-v-91629188d7e2810b4e7c9f767a69e91fcd532f87.zip
add slash lmao
Diffstat (limited to 'frontend/src/components/modals')
-rw-r--r--frontend/src/components/modals/PasteModal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/modals/PasteModal.js b/frontend/src/components/modals/PasteModal.js
index 243cdcd..7b28abb 100644
--- a/frontend/src/components/modals/PasteModal.js
+++ b/frontend/src/components/modals/PasteModal.js
@@ -18,7 +18,7 @@ const modalStyles = {
const PasteModal = (props) => {
const history = useHistory();
- const fullURL = `${window.location.origin}${props.hash}`;
+ const fullURL = `${window.location.origin}/${props.hash}`;
const clipboard = useClipboard({ copiedTimeout: 3000 });
Modal.setAppElement('body');