mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 01:08:50 +01:00
More caching, but still not enough
This commit is contained in:
parent
1523d3d727
commit
95d919bd5a
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ function AccountInfo({
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
const info = await fetchAccount();
|
const info = await fetchAccount();
|
||||||
|
states.accounts[`${info.id}@${instance}`] = info;
|
||||||
setInfo(info);
|
setInfo(info);
|
||||||
setUIState('default');
|
setUIState('default');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue