Improve ad

This commit is contained in:
syuilo
2021-05-07 14:22:13 +09:00
parent 3d7c3c39ff
commit b60f9fbc00
9 changed files with 72 additions and 18 deletions

View File

@ -3,10 +3,16 @@ import { api } from './os';
// TODO: 他のタブと永続化されたstateを同期
type Instance = {
export type Instance = {
emojis: {
category: string;
}[];
ads: {
ratio: number;
place: string;
url: string;
imageUrl: string;
}[];
};
const data = localStorage.getItem('instance');