refactor(frontend): use symbol for di

This commit is contained in:
syuilo 2025-03-29 16:04:01 +09:00
parent e5e4390494
commit 6c2c3f08be
3 changed files with 4 additions and 2 deletions

View file

@ -15,4 +15,5 @@ export const DI = {
currentStickyTop: Symbol() as InjectionKey<Ref<number>>,
currentStickyBottom: Symbol() as InjectionKey<Ref<number>>,
mfmEmojiReactCallback: Symbol() as InjectionKey<(emoji: string) => void>,
inModal: Symbol() as InjectionKey<boolean>,
};