Skip to content

Commit 9b3404b

Browse files
committed
Merge branch 'release-1.0.90'
2 parents c68635d + 3a4cfeb commit 9b3404b

20 files changed

+238
-167
lines changed

.github/workflows/deployFullstackToDockerHub.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- published
1111
jobs:
1212
fullstack:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
name: Build and push Full-Stack Container to Docker Hub
1515
steps:
1616
- name: Checkout repo

.github/workflows/deployWebAPIOnlyToDockerHub.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- published
1212
jobs:
1313
webapi:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
name: Build and push Web API Container to Docker Hub
1616
steps:
1717
- name: Checkout repo

.github/workflows/developToHeroku.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: akhileshns/[email protected] # This is the action

.github/workflows/mainToHeroku.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: akhileshns/[email protected] # This is the action

.github/workflows/viteToHeroku.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: akhileshns/[email protected] # This is the action
File renamed without changes.

client/package-lock.json

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "foodoasis-client",
33
"description": "React Client for Food Oasis",
4-
"version": "1.0.89",
4+
"version": "1.0.90",
55
"author": "Hack for LA",
66
"license": "GPL-2.0",
77
"private": true,

client/src/App.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ function App() {
2121
analytics.postEvent("visitAppComponent");
2222
}, []);
2323

24-
// const [snackbarOpen, setSnackbarOpen] = useState(false);
25-
// const [snackbarMessage, setSnackbarMessage] = useState("");
26-
27-
// const handleCloseSnackbar = () => {
28-
// setSnackbarOpen(false);
29-
// };
30-
3124
return (
3225
<HelmetProvider>
3326
<CssBaseline />

client/src/Routes.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import { Navigate, Outlet, Route, Routes } from "react-router-dom";
77
import Fallback from "./components/Fallback";
88
import PrivateRoute from "./components/PrivateRoute";
99
import Toast from "components/UI/Toast";
10+
import {
11+
useWidget,
12+
} from "./appReducer";
1013

1114
const VerificationAdmin = lazy(() =>
1215
import("components/Admin/VerificationAdmin")
@@ -196,6 +199,7 @@ export default function AppRoutes() {
196199
}
197200

198201
function AppWrapper() {
202+
const isWidget = useWidget();
199203
return (
200204
<Grid
201205
container
@@ -211,7 +215,7 @@ function AppWrapper() {
211215
overflowX: "hidden",
212216
}}
213217
>
214-
<Header />
218+
{isWidget ? null : <Header />}
215219
<Outlet />
216220
<Toast />
217221
</Grid>

0 commit comments

Comments
 (0)