Skip to content

Commit

Permalink
fix: reference filter
Browse files Browse the repository at this point in the history
  • Loading branch information
SimeonGriggs committed Nov 25, 2022
1 parent 4529828 commit ef940ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export const documentInternationalization = definePlugin<PluginConfig>((config)
// But the Type suggests it's possible
const parentArray = Array.isArray(parent) ? parent : [parent]
const language = parentArray.find((p) => p._key)
console.log({parentArray, languageField})

if (!language?._key) return null

Expand Down

0 comments on commit ef940ea

Please sign in to comment.