#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
import { useConnectionMode } from "@editor/hooks/useConnectionMode";
/** Local mode's accounts are this machine's, not an org's, so the roster waits
* for a server or cloud connection - and for the mode, to avoid a flash. */
export function useRosterAvailable(): boolean {
const mode = useConnectionMode();
return mode !== null && mode !== "local";
}