diff options
| author | jackyzha0 <[email protected]> | 2021-03-07 07:57:10 -0800 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2021-03-07 07:57:10 -0800 |
| commit | 4734fb3f72ac94655d171894bd4cdd5f79be694e (patch) | |
| tree | 0f8700594afb386c1d0818e5a8495111cbd7dce8 /frontend/src/App.js | |
| parent | Merge pull request #70 from jackyzha0/visual-overhaul (diff) | |
| download | ctrl-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.js | 6 |
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"; |