mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
chore: assign todos (#7297)
This commit is contained in:
@@ -14,7 +14,7 @@ const listeners: Set<PortalListener> = new Set();
|
||||
|
||||
export function createLitPortalAnchor(callback: (event: PortalEvent) => void) {
|
||||
const id = nanoid();
|
||||
// todo: clean up listeners?
|
||||
// todo(@Peng): clean up listeners?
|
||||
listeners.add(event => {
|
||||
if (event.target.portalId !== id) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user