mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38250cd239 |
+3
-2
@@ -109,9 +109,10 @@ export default function ReferencePickerModal({
|
||||
|
||||
setResults(r.hits)
|
||||
|
||||
const known = new Set(r.hits.map(h => h._source.EntryKey))
|
||||
setKnownKeys(known)
|
||||
|
||||
if (pendingInitialKeysRef.current.length > 0) {
|
||||
const known = new Set(r.hits.map(h => h._source.EntryKey))
|
||||
setKnownKeys(known)
|
||||
setSelectedKeys([...pendingInitialKeysRef.current])
|
||||
pendingInitialKeysRef.current = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user