mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 08:48:11 +00:00
fix: the issue in the sheets file
This commit is contained in:
@@ -211,7 +211,11 @@ const useAuth = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const createProfileAndSwitch = async (
|
||||
/**
|
||||
* Add an operational role. The new role starts pending review, so the active
|
||||
* mode is left untouched — the user keeps working under their approved role.
|
||||
*/
|
||||
const createProfile = async (
|
||||
type: ProfileTypeValue,
|
||||
licenseFiles: File[],
|
||||
): Promise<Result<void>> => {
|
||||
@@ -278,7 +282,7 @@ const useAuth = () => {
|
||||
onboardingCompleted,
|
||||
onboardingStep,
|
||||
switchMode,
|
||||
createProfileAndSwitch,
|
||||
createProfile,
|
||||
reapplyProfile,
|
||||
login,
|
||||
signup,
|
||||
|
||||
Reference in New Issue
Block a user