Showing
1 changed file
with
20 additions
and
0 deletions
straight-up/src/Result.js
0 → 100644
| 1 | +import React from 'react' | ||
| 2 | +import { useRecoilValue } from 'recoil'; | ||
| 3 | +import { analysisResultState } from './store/Global'; | ||
| 4 | +import Header from './components/Header'; | ||
| 5 | +import ResultContent from './components/ResultContent'; | ||
| 6 | + | ||
| 7 | +const Result = () => { | ||
| 8 | + const analysisResult = useRecoilValue(analysisResultState); | ||
| 9 | + | ||
| 10 | + return ( | ||
| 11 | + <div> | ||
| 12 | + <Header /> | ||
| 13 | + <ResultContent | ||
| 14 | + result={analysisResult} | ||
| 15 | + /> | ||
| 16 | + </div> | ||
| 17 | + ) | ||
| 18 | +} | ||
| 19 | + | ||
| 20 | +export default Result; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment