mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-12 22:00:02 -04:00
disconnect from DB after offers exchange
This commit is contained in:
parent
f50640a642
commit
68aa977962
2 changed files with 6 additions and 2 deletions
|
@ -40,6 +40,7 @@
|
|||
import logo from "./logo.png";
|
||||
import AccountCreation from "./AccountCreation.svelte";
|
||||
import { SnackbarIn } from "m3-svelte/package/containers/Snackbar.svelte";
|
||||
import { goOffline } from "firebase/database";
|
||||
|
||||
enum ReadyState {
|
||||
Idle,
|
||||
|
@ -108,7 +109,7 @@
|
|||
async function initFirebase() {
|
||||
if (!chosenTracker) return;
|
||||
let tracker = TrackerList[chosenTracker];
|
||||
initializeApp(tracker.firebase);
|
||||
let app = initializeApp(tracker.firebase);
|
||||
}
|
||||
|
||||
async function connectAccount() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue