Ullaas commited on
Commit
33827f2
·
verified ·
1 Parent(s): 76c5a46

Update src/App.js

Browse files
Files changed (1) hide show
  1. src/App.js +5 -4
src/App.js CHANGED
@@ -2,14 +2,15 @@ import React, { useState } from "react";
2
  import Layout from "./Layout";
3
  import Landing from "./Landing";
4
  import './App.css';
 
5
 
6
  export default function App() {
7
- const [selectedPrompt, setSelectedPrompt] = useState("");
8
 
9
  return (
10
- <Layout onPromptSelect={setSelectedPrompt}>
11
- <Landing initialPrompt={selectedPrompt} />
12
- </Layout>
 
13
  );
14
  }
15
 
 
2
  import Layout from "./Layout";
3
  import Landing from "./Landing";
4
  import './App.css';
5
+ import StoryGenerator from "./StoryGenerator";
6
 
7
  export default function App() {
 
8
 
9
  return (
10
+ <div>
11
+ <h1>Animated Story Generator</h1>
12
+ <StoryGenerator />
13
+ </div>
14
  );
15
  }
16