@aws-amplify/auth
Version:
Auth category of aws-amplify
13 lines (10 loc) • 475 B
JavaScript
import '../../../client/utils/store/autoSignInStore.mjs';
import { signInStore } from '../../../client/utils/store/signInStore.mjs';
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
function setActiveSignInUsername(username) {
const { dispatch } = signInStore;
dispatch({ type: 'SET_USERNAME', value: username });
}
export { setActiveSignInUsername };
//# sourceMappingURL=setActiveSignInUsername.mjs.map