mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Remove findEffect (#16343)
GitOrigin-RevId: b8472f5128deac5e7f94fb1ec1e64899a8da510a
This commit is contained in:
@@ -12,8 +12,3 @@ export const updateHasEffect =
|
||||
update.transactions.some(tr =>
|
||||
tr.effects.some(effect => effect.is(effectType))
|
||||
)
|
||||
|
||||
export const findEffect =
|
||||
<T>(effectType: StateEffectType<T>) =>
|
||||
(tr: Transaction) =>
|
||||
tr.effects.find(effect => effect.is(effectType))
|
||||
|
||||
Reference in New Issue
Block a user