Skip to content

Commit

Permalink
fix frontend faliure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amitamrutiya committed Jan 25, 2024
1 parent e5931e2 commit fb1a93b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: npm install --prefix backend

- name: Run ESLint
run: cd.. && npm run format
run: cd .. && npm run format

- name: Run Tests
run: npm test --prefix backend
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: npm install --prefix frontend

- name: Run ESLint
run: npx eslint . --ext .js,.jsx
run: cd .. && npm run format

- name: Build
run: npm run build
1 change: 1 addition & 0 deletions backend/utils/secToDuration.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Helper function to convert total seconds to the duration format

export default function convertSecondsToDuration (totalSeconds) {
const hours = Math.floor(totalSeconds / 3600)
const minutes = Math.floor((totalSeconds % 3600) / 60)
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/common/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { FooterLink2 } from '../../data/footer-links'
import { Link } from 'react-router-dom'
// Images
import Logo from '../../assets/Logo/Logo-Full-Light.png'
// Icons
import { FaFacebook, FaGoogle, FaTwitter, FaYoutube } from 'react-icons/fa'

const BottomFooter = ['Privacy Policy', 'Cookie Policy', 'Terms']
Expand Down

0 comments on commit fb1a93b

Please sign in to comment.