feat: lots updates

This commit is contained in:
zerosoul
2022-03-22 16:10:49 +08:00
parent eef55e5cb3
commit a23800b042
40 changed files with 504 additions and 415 deletions
+6 -2
View File
@@ -30,10 +30,14 @@ const useRehydrate = () => {
// console.log("iterated", key);
switch (_key) {
case "channels":
rehydrateData.channels.push(data);
if (data) {
rehydrateData.channels.push(data);
}
break;
case "contacts":
rehydrateData.contacts.push(data);
if (data) {
rehydrateData.contacts.push(data);
}
break;
case "footprint":
rehydrateData.footprint[key] = data;