diff --git a/frontend/src/components/selectResource/index.js b/frontend/src/components/selectResource/index.js index dc137fb..b6d369c 100644 --- a/frontend/src/components/selectResource/index.js +++ b/frontend/src/components/selectResource/index.js @@ -2,7 +2,8 @@ import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Card from '@material-ui/core/Card'; import CardContent from '@material-ui/core/CardContent'; -import Typography from '@material-ui/core/Typography' +import Typography from '@material-ui/core/Typography'; +import Grid from '@material-ui/core/Grid'; const useStyles = makeStyles(theme => ({ card: { @@ -11,13 +12,18 @@ const useStyles = makeStyles(theme => ({ })); function CreateResourceCard(resource, classes) { - return ( - - - {JSON.stringify(resource)} - - - ) + return ( + + + + + {resource["name"]} + + + + + + ) } export default function SelectResource() { @@ -38,9 +44,9 @@ export default function SelectResource() { return ( - + {resources} - + ); }