Using devise with hotwire is not straightfoward yet. In this repo you will find a working example of sing up and sign in features using devise, hotwire and bootstrap modals.
Please if you have any doubts please reach out to hello@eagerworks.com. Happy to help!