()
| 68 | }; |
| 69 | |
| 70 | const logout = async () => { |
| 71 | try { |
| 72 | setLoading(true); |
| 73 | await auth.logout(); |
| 74 | } catch (error) { |
| 75 | printToConsole("error while logout", error); |
| 76 | } finally { |
| 77 | setLoading(false); |
| 78 | } |
| 79 | }; |
| 80 | |
| 81 | return ( |
| 82 | <> |
no test coverage detected