Skip to content

Commit

Permalink
Merge pull request #2426 from stakwork/feature/hide-ask-question
Browse files Browse the repository at this point in the history
feat: hide ask quesiont, if feautureflag is false
  • Loading branch information
Rassl authored Nov 8, 2024
2 parents a2082a3 + 3901816 commit 58ebc9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,11 @@ export const App = () => {

useEffect(() => {
if (!splashDataLoading) {
setUniverseQuestionIsOpen()
if (chatInterfaceFeatureFlag) {
setUniverseQuestionIsOpen()
}
}
}, [setUniverseQuestionIsOpen, splashDataLoading])
}, [setUniverseQuestionIsOpen, splashDataLoading, chatInterfaceFeatureFlag])

return (
<>
Expand Down

0 comments on commit 58ebc9b

Please sign in to comment.