Skip to content

Commit

Permalink
disable update bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Connoropolous committed Nov 4, 2023
1 parent d7104fd commit 9516304
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions web/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,33 +118,6 @@ const Header: React.FC<HeaderProps> = ({

return (
<div className={`header-wrapper`} ref={ref}>
{/* Update Bar */}
<div className="header-update-bar-wrapper">
<UpdateBar
active={showUpdateBar}
onClose={() => setShowUpdateBar(false)}
buttonSecondaryText={'Changelog'}
onClickSecondaryAction={() => {
setViewingReleaseNotes(ViewingReleaseNotes.ReleaseNotes)
setShowUpdateModal(true)
setShowUpdateBar(false)
}}
buttonPrimaryText={'Update Now'}
onClickPrimaryAction={() => {
setViewingReleaseNotes(ViewingReleaseNotes.MainMessage)
setShowUpdateModal(true)
setShowUpdateBar(false)
}}
// party popper emoji
text={<>&#x1F389; A new update for Acorn is available.</>}
migratedSharedProjectText={
hasMigratedSharedProject
? ' Update is required to access a shared project brought to the updated version by another team member.'
: ''
}
/>
</div>

<div className="header">
{/* Header Left Panel */}
<HeaderLeftPanel
Expand Down

0 comments on commit 9516304

Please sign in to comment.