mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 19:29:51 -04:00
Remove unused parts
This commit is contained in:
parent
9f8c0cba66
commit
ee4ac5669b
|
@ -14,5 +14,3 @@ export async function searchForPlaces(query: string) {
|
||||||
|
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(searchForPlaces);
|
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
import { makeAPIPostCall } from '../api/utils';
|
import Button from '@material-ui/core/Button';
|
||||||
import Card from '@material-ui/core/Card';
|
import Card from '@material-ui/core/Card';
|
||||||
import CardContent from '@material-ui/core/CardContent';
|
import CardContent from '@material-ui/core/CardContent';
|
||||||
import { makeStyles } from '@material-ui/core/styles';
|
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 CloudUploadIcon from '@material-ui/icons/CloudUpload';
|
||||||
import { useState, useEffect } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { searchForPlaces } from '../api/google';
|
import { searchForPlaces } from '../api/google';
|
||||||
|
import { makeAPIPostCall } from '../api/utils';
|
||||||
const useStyles = makeStyles((theme) => ({
|
const useStyles = makeStyles((theme) => ({
|
||||||
root: {
|
root: {
|
||||||
maxWidth: 345,
|
maxWidth: 345,
|
||||||
|
@ -50,12 +49,8 @@ const CreatePool = () => {
|
||||||
style={{ margin: '0.5rem', background: '#F3F5F4' }}
|
style={{ margin: '0.5rem', background: '#F3F5F4' }}
|
||||||
>
|
>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<Typography gutterBottom variant="h5" component="h2"></Typography>
|
|
||||||
<Typography variant="body2" color="textSecondary" component="p">
|
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<h1 className="form-title" style={{ fontFamily: 'Impact' }}>
|
<h1 className="form-title">Create Pool</h1>
|
||||||
Create Pool
|
|
||||||
</h1>
|
|
||||||
<label className="" htmlFor="title">
|
<label className="" htmlFor="title">
|
||||||
Pool Title:{' '}
|
Pool Title:{' '}
|
||||||
</label>
|
</label>
|
||||||
|
@ -188,8 +183,6 @@ const CreatePool = () => {
|
||||||
>
|
>
|
||||||
Submit
|
Submit
|
||||||
</Button>
|
</Button>
|
||||||
<br />
|
|
||||||
</Typography>
|
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user