Skip to content

Commit

Permalink
Handling responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaurab committed Feb 19, 2022
1 parent ee53f00 commit bb9f878
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function App() {
}

const [hideGiveUp,setHideGiveUp] = useState(true)

useEffect(()=>{
setTimeout(() => {
setHideGiveUp(false)
Expand Down Expand Up @@ -415,7 +416,7 @@ function App() {
)}
</div>
<div
className={`absolute -bottom-24 left-1/2 transform -translate-x-1/2 ${
className={`flex justify-center pt-6 ${
hideGiveUp ? 'hidden' : ''
}`}
>
Expand Down

0 comments on commit bb9f878

Please sign in to comment.