Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 252 Bytes

File metadata and controls

14 lines (10 loc) · 252 Bytes
title useGoOnlineMutation

Reconnect the Realtime Database client to the server.

Usage

import { useGoOnlineMutation } from "@tanstack-query-firebase/react/database";

const { mutate } = useGoOnlineMutation(database);
mutate();