Skip to content

Commit

Permalink
Fix bug de abrir primeiro na pagina do quiz antes do facebook
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdlm committed Oct 18, 2021
1 parent 18cea67 commit 1aa09d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,10 @@ export default function Home(props) {
) : (
<LogOnScreen />
)} */}
{screenState === 0 ? (
{screenState !== 1 && (
<Facebook handleStatusLogged={handleStatusLogged} />
) : (
<LogOnScreen />
)}
{screenState === 1 && <LogOnScreen />}
</Background>
</ExperienceProvider>
);
Expand Down

1 comment on commit 1aa09d5

@vercel
Copy link

@vercel vercel bot commented on 1aa09d5 Oct 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.