aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'spring-front/src/App.js')
-rw-r--r--spring-front/src/App.js20
1 files changed, 13 insertions, 7 deletions
diff --git a/spring-front/src/App.js b/spring-front/src/App.js
index 2393152..492930e 100644
--- a/spring-front/src/App.js
+++ b/spring-front/src/App.js
@@ -2,11 +2,17 @@ import React from "react";
import Left from "./components/Left.js";
import Right from "./components/Right.js";
-export default function App() {
- return (
- <div>
- <Left />
- <Right />
- </div>
- );
+export default class App extends React.Component {
+ constructor(props) {
+ super(props);
+ }
+
+ render() {
+ return (
+ <div>
+ <Left />
+ <Right />
+ </div>
+ );
+ }
}