Skip to content

Commit

Permalink
Merge pull request #5 from sarthakdev143-lite/demo-production
Browse files Browse the repository at this point in the history
"Updated Account.js: changed import to include useEffect, replaced us…
  • Loading branch information
sarthakdev143-lite authored Oct 7, 2024
2 parents a3605cb + 3081bf9 commit c4ff9da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Components/Account/Account.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import React, { useEffect } from 'react'

const Account = () => {

useLayoutEffect(() => {
useEffect(() => {
alert("This Part is in Under Construction.")
window.location.href = '/';
}, [])
Expand Down

0 comments on commit c4ff9da

Please sign in to comment.