Function getLocalStorageStates

  • Get the states from the local storage.

    This is a workaround for the issue where the states are initially empty.

    Type Parameters

    • TSliceName extends
          | "lineup"
          | "main"
          | "presenter"
          | "profile"
          | "settings"
          | "window"
          | "_persist"

    Parameters

    Returns RootState[TSliceName]

    The states from the local storage.

    0.4.0