I\'m trying to link the stack navigation with one button, but this button is also the function to add a new register or to connect t the app.
When i click the function to