Skip to content

Commit

Permalink
Merge pull request #4 from sarthakdev143-lite/demo-production
Browse files Browse the repository at this point in the history
Handling Account url
  • Loading branch information
sarthakdev143-lite authored Oct 7, 2024
2 parents bbf8bc1 + 18e4110 commit a3605cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/src/Components/Account/Account.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import React from 'react'

const Account = () => {

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

return (
<div>
<img src='https://images.unsplash.com/photo-1577915207354-8f266a3fc016?auto=format&fit=crop&w=1470&q=80' alt='Background Not Found' />
Expand Down

0 comments on commit a3605cb

Please sign in to comment.