Skip to content

Commit

Permalink
Fixed Prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-lin12 committed Oct 23, 2023
1 parent 4631f25 commit bd1bac9
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This pull request is the first step towards implementing feature Foo

<!--- List any important or subtle points, future considerations, or other items of note. -->

### Breaking Changes <!-- Optional -->
### Breaking Changes <!-- Optional -->

<!-- Uncomment items that apply: -->

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-backend-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: CI Test
on:
on:
pull_request:
paths: ['server/**']

Expand Down
46 changes: 25 additions & 21 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<script src="https://accounts.google.com/gsi/client" async defer></script>
<!--
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<script src="https://accounts.google.com/gsi/client" async defer></script>
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Expand All @@ -21,12 +26,11 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Carriage</title>
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
<title>Carriage</title>
</head>

</html>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>
</html>
2 changes: 0 additions & 2 deletions frontend/src/components/MiniCal/MiniCal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const MiniCal = () => {
};
class CustomInput extends React.Component<any> {
render() {

return (
<button
className={styles.customInput}
Expand Down Expand Up @@ -95,7 +94,6 @@ const MiniCal = () => {
showPopperArrow={false}
onCalendarClose={() => setIsCalendarOpen(false)}
onCalendarOpen={() => setIsCalendarOpen(true)}

customInput={<CustomInput />}
highlightDates={[{ 'custom--today': [new Date()] }]}
renderCustomHeader={({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
"url": "https://github.com/cornell-dti/carriage-web/issues"
},
"homepage": "https://github.com/cornell-dti/carriage-web#readme"
}
}

0 comments on commit bd1bac9

Please sign in to comment.