ChemPal Documentation - v1.6.0
    Preparing search index...

    Return shape of useUpdateAvailable.

    interface UseUpdateAvailable {
        notice: undefined | UpdateNotice;
        dismiss: () => void;
        applyUpdate: () => void;
    }
    Index

    Properties

    notice: undefined | UpdateNotice

    The pending update, or undefined when up to date or already dismissed.

    dismiss: () => void

    Suppresses the prompt for UpdateNotice.version.

    applyUpdate: () => void

    Reloads the extension (Web Store) or opens the release page (manual).