Skip to content

Instantly share code, notes, and snippets.

@YonatanKra
Created September 20, 2023 05:01
Show Gist options
  • Save YonatanKra/5b21c668dc8725127320c3cea47a6c27 to your computer and use it in GitHub Desktop.
Save YonatanKra/5b21c668dc8725127320c3cea47a6c27 to your computer and use it in GitHub Desktop.
Tauri-demo: add login to authMock
class MockAuth extends HTMLElement {
constructor() {
super();
authComponent = this;
}
isLoggedIn?() {
return isLoggedIn;
}
login(_email: string, _password: string) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment