mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
feat: ✨ Add support for accounts on other instances
This commit is contained in:
parent
18eee4d481
commit
29b4cb43ca
13 changed files with 179 additions and 40 deletions
|
|
@ -98,7 +98,7 @@ import {
|
|||
const appData = useAppData();
|
||||
const isMobile = useMediaQuery("(max-width: 768px)");
|
||||
|
||||
const signInAction = () => signIn(appData);
|
||||
const signInAction = () => signIn(appData, new URL(useBaseUrl().value));
|
||||
|
||||
const signOut = async (userId?: string) => {
|
||||
const id = toast.loading("Signing out...");
|
||||
|
|
@ -164,4 +164,4 @@ const switchAccount = async (userId: string) => {
|
|||
|
||||
window.location.href = "/";
|
||||
};
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue