mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix regex
This commit is contained in:
@ -64,8 +64,8 @@ export const Index: React.FC = () => {
|
||||
length,
|
||||
[length - 1]: last
|
||||
} = navigation.dangerouslyGetState().history
|
||||
navigation.navigate(last.key.split(new RegExp(/(.*?)-/))[1], {
|
||||
screen: 'PostToot'
|
||||
navigation.navigate(last.key.split(new RegExp(/(.*)-/))[1], {
|
||||
screen: 'Screen-Shared-Compose'
|
||||
})
|
||||
}
|
||||
})}
|
||||
|
Reference in New Issue
Block a user