aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/App.js
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2021-03-07 07:57:10 -0800
committerjackyzha0 <[email protected]>2021-03-07 07:57:10 -0800
commit4734fb3f72ac94655d171894bd4cdd5f79be694e (patch)
tree0f8700594afb386c1d0818e5a8495111cbd7dce8 /frontend/src/App.js
parentMerge pull request #70 from jackyzha0/visual-overhaul (diff)
downloadctrl-v-4734fb3f72ac94655d171894bd4cdd5f79be694e.tar.xz
ctrl-v-4734fb3f72ac94655d171894bd4cdd5f79be694e.zip
refactor to use useFetchPaste hook
Diffstat (limited to 'frontend/src/App.js')
-rw-r--r--frontend/src/App.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/App.js b/frontend/src/App.js
index a8da469..0a47baa 100644
--- a/frontend/src/App.js
+++ b/frontend/src/App.js
@@ -1,6 +1,6 @@
import React from 'react';
-import NewPaste from './components/NewPaste'
-import ViewPaste from './components/ViewPaste'
+import NewPaste from './components/pages/NewPaste'
+import ViewPaste from './components/pages/ViewPaste'
import styled from 'styled-components'
import {
BrowserRouter as Router,
@@ -8,7 +8,7 @@ import {
Route,
useParams
} from "react-router-dom";
-import Raw from './components/renderers/Raw'
+import Raw from './components/pages/Raw'
import ThemeProvider from './theme/ThemeProvider'
import GlobalStyle from './theme/GlobalStyle'
import {Watermark} from "./components/Watermark";