diff options
| author | Melonai <einebeere@gmail.com> | 2020-05-20 19:52:18 +0200 |
|---|---|---|
| committer | Melonai <einebeere@gmail.com> | 2020-05-20 19:52:18 +0200 |
| commit | e58b453f24c8b4081361112862d29c34eb22009d (patch) | |
| tree | 3437fb38ecb8b22ad5475d88f7e9ca901b320917 /client/src/Components/ResponseContainer.js | |
| parent | a00a8a867cae381982c7b8b77f07836ab4a504ed (diff) | |
| download | shorest-e58b453f24c8b4081361112862d29c34eb22009d.tar.zst shorest-e58b453f24c8b4081361112862d29c34eb22009d.zip | |
port to react and better error handling in backend
Diffstat (limited to 'client/src/Components/ResponseContainer.js')
| -rw-r--r-- | client/src/Components/ResponseContainer.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/Components/ResponseContainer.js b/client/src/Components/ResponseContainer.js new file mode 100644 index 0000000..8fad4bd --- /dev/null +++ b/client/src/Components/ResponseContainer.js @@ -0,0 +1,12 @@ +import React from 'react'; +import Response from "./Response"; + +function ResponseContainer(props){ + const responseContent = props.requests.map((r) => <Response key={r.key} url={r.url}/>); + + return ( + responseContent + ) +} + +export default ResponseContainer; \ No newline at end of file |
