mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-05 00:03:58 +02:00
perf(client): use shallowRef for html element ref
This commit is contained in:
@@ -156,7 +156,7 @@ const patrons = [
|
||||
let easterEggReady = false;
|
||||
let easterEggEmojis = $ref([]);
|
||||
let easterEggEngine = $ref(null);
|
||||
const containerEl = $ref<HTMLElement>();
|
||||
const containerEl = $shallowRef<HTMLElement>();
|
||||
|
||||
function iconLoaded() {
|
||||
const emojis = defaultStore.state.reactions;
|
||||
|
||||
Reference in New Issue
Block a user