Stickers now updating in local state, the context state is not.
This commit is contained in:
2
types/StickerContext.d.ts
vendored
2
types/StickerContext.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
interface StickersContextState {
|
||||
stickersMonth: StickerDays;
|
||||
addEditSticker: (date: Date, sticker: ValidStickerVal) => void;
|
||||
addEditSticker: (date: Date, sticker: ValidStickerVal) => Sticker;
|
||||
}
|
||||
|
||||
type StickerVal = -2 | -1 | 0 | 1 | 2 | null;
|
||||
|
||||
Reference in New Issue
Block a user