Skip to content

Commit

Permalink
Merge pull request #5 from hackerspace-ntnu/feat/eslint-action
Browse files Browse the repository at this point in the history
Created ESLint Github Action
  • Loading branch information
michaelbrusegard authored Oct 20, 2023
2 parents 265c2c2 + c6f6a9c commit 4d5e075
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: frontend-integration
run-name: ${{ github.actor }} Frontend Integration

on: [push]
jobs:
run-eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install
- run: npm run lint
4 changes: 2 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import './index.css'
import ModalProvider from './context/modal/ModalProvider.tsx'
import Content from './structure/Content.tsx'

ReactModal.setAppElement("#root")
ReactModal.setAppElement"#root")

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<BrowserRouter>
<BrowserRouter>
<ModalProvider>
<Content />
</ModalProvider>
Expand Down

0 comments on commit 4d5e075

Please sign in to comment.