[commonActions] 불필요한 startupRecent 로직 삭제

This commit is contained in:
jiwon93.son
2024-04-09 18:01:37 +09:00
parent c00023d95c
commit 799a2ce439

View File

@@ -143,33 +143,6 @@ export const logoutAccount = () => (dispatch, getState) => {
},
});
};
let _recentKind = ":4";
let _recentKeyId = "myrecent";
export const startupRecent = () => (dispatch, getState) => {
const state = getState().db8;
const parameters = {
id: state.domain + _recentKind,
owner: state.domain,
indexes: [
{
name: "keyId",
props: [{ name: "keyId" }],
},
],
};
lunaSend.startupRecent(parameters, {
onSuccess: (res) => {
alertToast("startupRecent onSuccess: ", res);
},
onFailure: (err) => {
alertToast("startupRecent onFailure: ", err);
},
});
};
export const getDeviceId = (onComplete) => (dispatch, getState) => {
lunaSend.getDeviceId(
{ idType: ["LGUDID"] },