@aws-amplify/auth
Version:
Auth category of aws-amplify
14 lines (12 loc) • 546 B
JavaScript
;
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.setActiveSignInUsername = void 0;
const store_1 = require("../../../client/utils/store");
function setActiveSignInUsername(username) {
const { dispatch } = store_1.signInStore;
dispatch({ type: 'SET_USERNAME', value: username });
}
exports.setActiveSignInUsername = setActiveSignInUsername;
//# sourceMappingURL=setActiveSignInUsername.js.map