File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change
1
+ ## Purpose
2
+ The purpose of this PR is to fix #<issue-number >
3
+
4
+ ## Goals
5
+ <!-- - Describe the solutions that this feature/fix will introduce to resolve the problems described above -->
6
+
7
+ ## Screenshots
8
+ <!-- - Include an animated GIF or screenshot if the change affects the UI. -->
Original file line number Diff line number Diff line change @@ -9,24 +9,26 @@ const organisations = [
9
9
id : 6 ,
10
10
name : "ODEL"
11
11
}
12
-
13
12
]
14
13
15
14
function App ( ) {
16
15
return (
17
16
< div className = "App" >
18
17
< header className = "App-header" >
19
- { organisations . map ( ( organisation ) => {
20
- return (
21
- < div key = { organisation . id } >
22
- { organisation . name }
23
- </ div >
24
- ) ;
25
- } )
26
- }
18
+ < Organisations />
27
19
</ header >
28
20
</ div >
29
21
) ;
30
22
}
31
23
24
+ function Organisations ( ) {
25
+ return organisations . map ( ( organisation ) => {
26
+ return (
27
+ < div key = { organisation . id } >
28
+ { organisation . name }
29
+ </ div >
30
+ ) ;
31
+ } )
32
+ }
33
+
32
34
export default App ;
You can’t perform that action at this time.
0 commit comments