Skip to content

Commit

Permalink
fix title. update node for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
PhotoNomad0 committed Dec 14, 2023
1 parent 792789a commit 3bea27f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.19.0]
node-version: [18.17.1]
steps:
- uses: actions/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel='icon' href='/static/favicon.ico' />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<title>gatewayEdit</title>
</head>
<body>
<div id="root"></div>
Expand Down
1 change: 0 additions & 1 deletion src/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { ThemeProvider } from '@material-ui/core/styles'
import CssBaseline from '@material-ui/core/CssBaseline'
import StoreContextProvider from '@context/StoreContext'
import AuthContextProvider from '@context/AuthContext'
// import { APP_NAME } from '@common/constants'
import '@styles/globals.css'
import WorkspaceContainer from '@components/WorkspaceContainer'
import Layout from '@components/Layout'
Expand Down
5 changes: 3 additions & 2 deletions src/components/AppHead.js → src/components/AppHead.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//TODO: remove - this is no longer needed as the head is now set in index.html in project folder
import React from 'react'
import { string } from 'prop-types'

Expand All @@ -6,7 +7,7 @@ const defaultOGURL = ''
const defaultOGImage = ''

const AppHead = props => (
<Head>
<head>
<meta charSet='UTF-8' />
<title>{props.title || ''}</title>
<meta
Expand All @@ -30,7 +31,7 @@ const AppHead = props => (
<meta property='og:image' content={props.ogImage || defaultOGImage} />
<meta property='og:image:width' content='1200' />
<meta property='og:image:height' content='630' />
</Head>
</head>
)

AppHead.propTypes = {
Expand Down

0 comments on commit 3bea27f

Please sign in to comment.