From 4734fb3f72ac94655d171894bd4cdd5f79be694e Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sun, 7 Mar 2021 07:57:10 -0800 Subject: refactor to use useFetchPaste hook --- frontend/src/App.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontend/src/App.js') 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"; -- cgit v1.2.3