Remove unused parts

This commit is contained in:
Michael Fatemi 2021-04-10 22:30:48 -04:00
parent 9f8c0cba66
commit ee4ac5669b
2 changed files with 136 additions and 145 deletions

View File

@ -14,5 +14,3 @@ export async function searchForPlaces(query: string) {
return json;
}
console.log(searchForPlaces);

View File

@ -1,12 +1,11 @@
import { makeAPIPostCall } from '../api/utils';
import Button from '@material-ui/core/Button';
import Card from '@material-ui/core/Card';
import CardContent from '@material-ui/core/CardContent';
import { makeStyles } from '@material-ui/core/styles';
import Button from '@material-ui/core/Button';
import Typography from '@material-ui/core/Typography';
import CloudUploadIcon from '@material-ui/icons/CloudUpload';
import { useState, useEffect } from 'react';
import { useEffect, useState } from 'react';
import { searchForPlaces } from '../api/google';
import { makeAPIPostCall } from '../api/utils';
const useStyles = makeStyles((theme) => ({
root: {
maxWidth: 345,
@ -50,12 +49,8 @@ const CreatePool = () => {
style={{ margin: '0.5rem', background: '#F3F5F4' }}
>
<CardContent>
<Typography gutterBottom variant="h5" component="h2"></Typography>
<Typography variant="body2" color="textSecondary" component="p">
<div className="form-group">
<h1 className="form-title" style={{ fontFamily: 'Impact' }}>
Create Pool
</h1>
<h1 className="form-title">Create Pool</h1>
<label className="" htmlFor="title">
Pool Title:{' '}
</label>
@ -188,8 +183,6 @@ const CreatePool = () => {
>
Submit
</Button>
<br />
</Typography>
</CardContent>
</Card>
</div>