Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite authored and meikelmosby committed Mar 5, 2025
1 parent 8ba1d99 commit 9e90083
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function DictionaryField({
templating: boolean
}): JSX.Element {
const [entries, setEntries] = useState<[string, string][]>(Object.entries(value ?? {}))
const prevFilteredEntriesRef = useRef<[string, string][]>([])
const prevFilteredEntriesRef = useRef<[string, string][]>(entries)

useEffect(() => {
// NOTE: Filter out all empty entries as fetch will throw if passed in
Expand Down

0 comments on commit 9e90083

Please sign in to comment.