import{createSlice as t}from"@reduxjs/toolkit";var d={selectedWallet:void 0,selectedSolanaWallet:void 0,accessKey:null,details:{}},l=t({name:"user",initialState:d,reducers:{updateSelectedWallet(e,{payload:{wallet:a}}){e.selectedWallet=a},updateSolanaSelectedWallet(e,{payload:{wallet:a}}){e.selectedSolanaWallet=a},updateAccessKey(e,{payload:{accessKey:a}}){e.accessKey=a},updateUserDetails(e,{payload:{details:a}}){e.details=a}}}),{updateSelectedWallet:s,updateSolanaSelectedWallet:o,updateAccessKey:p,updateUserDetails:u}=l.actions,n=l.reducer;export{n as default,d as initialState,p as updateAccessKey,s as updateSelectedWallet,o as updateSolanaSelectedWallet,u as updateUserDetails};
