Skip to content

Commit 891124c

Browse files
committed
Update getProfiles to directly assign response from fetchProfile
1 parent f9e2259 commit 891124c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/hooks/useConfig.hook.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const useConfig = () => {
115115
if (CUSTOM_PROFILE_ENABLED) {
116116
// TODO: pass the profile ID after adding profile selection
117117
response = await fetchProfile();
118-
selectedProfile = response?.value;
118+
selectedProfile = response;
119119
} else {
120120
const hasStoredProfiles = profiles?.length;
121121
response = hasStoredProfiles ? profiles : await fetchProfiles();

0 commit comments

Comments
 (0)