Cleanup
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import React from 'react'
|
||||
import {
|
||||
ModerationCause,
|
||||
ModerationUI,
|
||||
|
||||
@@ -41,7 +41,7 @@ export function getDefinition(
|
||||
// check local definitions
|
||||
const customDef =
|
||||
!label.val.startsWith('!') &&
|
||||
labelDefs[label.src].find(
|
||||
labelDefs[label.src]?.find(
|
||||
def => def.identifier === label.val && def.definedBy === label.src,
|
||||
)
|
||||
if (customDef) {
|
||||
|
||||
Reference in New Issue
Block a user