Skip to content

Commit

Permalink
feat: redirect to downloads page on button click
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Nov 20, 2023
1 parent d08888b commit fa30555
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import UpdateModal from '../../../components/widgets/update/UpdateModal'
import Button from '@mui/material/Button'
import theme from '../../../theme'

import { shell } from 'electron'
import { Site } from '@quiet/common'

const BreakingChangesWarning = () => {
const modal = useModal(ModalName.breakingChangesWarning)

Expand All @@ -18,7 +21,7 @@ const BreakingChangesWarning = () => {
'Quiet’s next release makes joining communities faster and more reliable by letting people join when the owner is offline! 🎉 However, these changes are not backwards compatible, so you must re-install Quiet from tryquiet.org and re-create or re-join your community. 😥 This version of Quiet will no longer receive any updates or security fixes, so please re-install soon. We apologize for the inconvenience.'

const updateAction = useCallback(() => {
console.log('implement me')
shell.openExternal(`${Site.MAIN_PAGE}#Downloads`)
}, [])

const updateButton = (
Expand Down

0 comments on commit fa30555

Please sign in to comment.