Skip to content

Commit

Permalink
feat: bind pop to the notifier button #1980
Browse files Browse the repository at this point in the history
  • Loading branch information
siepra committed Nov 7, 2023
1 parent 54e2d9b commit 3ac25cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mobile/src/screens/Notifier/Notifier.screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import React, { FC, useCallback } from 'react'
import { Notifier } from '../../components/Notifier/Notifier.component'
import { appImages } from '../../assets'
import { useDispatch } from 'react-redux'
import { navigationActions } from '../../store/navigation/navigation.slice'

export const NotifierScreen: FC = () => {
const dispatch = useDispatch()

const redirection = useCallback(() => {
console.log('redirection')
dispatch(navigationActions.pop())
}, [dispatch])

const helpline = useCallback(() => {
Expand Down

0 comments on commit 3ac25cc

Please sign in to comment.