diff --git a/phone/src/Phone.tsx b/phone/src/Phone.tsx index 26881e6..c28a9f9 100644 --- a/phone/src/Phone.tsx +++ b/phone/src/Phone.tsx @@ -18,7 +18,7 @@ import { useApps } from "./os/apps/hooks/useApps"; import { useContactsService } from "./apps/contacts/hooks/useContactsService"; import { useTwitterService } from "./apps/twitter/hooks/useTwitterService"; -import { useSelloutService } from "./apps/sellout/hooks/useSelloutService"; +import { useSelloutService } from "./apps/sellout/hooks/useSelloutService"; //These events are just for testing. Comment it out before building. setTimeout(() => { @@ -70,30 +70,31 @@ setTimeout(() => { setTimeout(() => { window.dispatchEvent( - new MessageEvent('message', { + new MessageEvent("message", { data: { - app: 'SELLOUT', - method: 'setListings', + app: "SELLOUT", + method: "setListings", data: [ { - id: 1, - name: 'Donald Trump', - number: '123-4567', - description: 'This is me just selling the whole country, because like why not dude', - img: 'some shady link?' + id: 1, + name: "Donald Trump", + number: "123-4567", + description: + "This is me just selling the whole country, because like why not dude", + img: "some shady link?", }, { id: 2, - name: 'Joe Biden', - number: '666-6666', - description: 'I think I might buy it Trump!', - img: 'even shadier link?' - } - ] - } + name: "Joe Biden", + number: "666-6666", + description: "I think I might buy it Trump!", + img: "even shadier link?", + }, + ], + }, }) - ) -}) + ); +}); function Phone() { useNuiService(); diff --git a/phone/src/apps/sellout/components/Sellout.css b/phone/src/apps/sellout/components/Sellout.css index af2ac60..13183d3 100644 --- a/phone/src/apps/sellout/components/Sellout.css +++ b/phone/src/apps/sellout/components/Sellout.css @@ -1,3 +1,3 @@ #sellout-app .Mui-selected { color: #f44336 !important; -} \ No newline at end of file +} diff --git a/phone/src/apps/sellout/components/SelloutList/SelloutItem.tsx b/phone/src/apps/sellout/components/SelloutList/SelloutItem.tsx index 37869bd..6af692b 100644 --- a/phone/src/apps/sellout/components/SelloutList/SelloutItem.tsx +++ b/phone/src/apps/sellout/components/SelloutList/SelloutItem.tsx @@ -1,10 +1,6 @@ import React from "react"; import { makeStyles } from "@material-ui/core/styles"; -import { - Button, - Typography, - Paper, -} from "@material-ui/core"; +import { Button, Typography, Paper } from "@material-ui/core"; import { ImageDisplay } from "../images/ImageDisplay"; import { ListItem } from "../../../../ui/components/ListItem"; import ChatIcon from "@material-ui/icons/Chat"; diff --git a/phone/src/apps/sellout/components/SelloutTitle.tsx b/phone/src/apps/sellout/components/SelloutTitle.tsx index 99d6daa..02cb752 100644 --- a/phone/src/apps/sellout/components/SelloutTitle.tsx +++ b/phone/src/apps/sellout/components/SelloutTitle.tsx @@ -2,8 +2,8 @@ import React from "react"; import Paper from "@material-ui/core/Paper"; import { makeStyles } from "@material-ui/core"; import LinkedInIcon from "@material-ui/icons/LinkedIn"; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' -import { faAd } from '@fortawesome/free-solid-svg-icons' +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import { faAd } from "@fortawesome/free-solid-svg-icons"; const useStyles = makeStyles((theme) => ({ root: { diff --git a/phone/src/apps/sellout/components/form/ListingFormContainer.tsx b/phone/src/apps/sellout/components/form/ListingFormContainer.tsx index de5cb54..0823fb6 100644 --- a/phone/src/apps/sellout/components/form/ListingFormContainer.tsx +++ b/phone/src/apps/sellout/components/form/ListingFormContainer.tsx @@ -1,10 +1,10 @@ -import React from 'react' -import { ListingForm } from './ListingForm'; +import React from "react"; +import { ListingForm } from "./ListingForm"; export const ListingFormContainer = () => { return (