mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-18 13:09:08 +02:00
Fix showing reply to on download squeak (#1117)
This commit is contained in:
parent
042bac2649
commit
2934435a1d
1 changed files with 4 additions and 1 deletions
|
|
@ -47,7 +47,10 @@ export default function SqueakPage() {
|
|||
getSqueakDisplayRequest(hash, setSqueak);
|
||||
};
|
||||
const subscribeSqueak = (hash) => {
|
||||
return subscribeSqueakDisplayRequest(hash, setSqueak);
|
||||
return subscribeSqueakDisplayRequest(hash, (squeak) => {
|
||||
setSqueak(squeak);
|
||||
setAncestorSqueaks([squeak]);
|
||||
});
|
||||
};
|
||||
const getAncestorSqueaks = (hash) => {
|
||||
getAncestorSqueakDisplaysRequest(hash, setAncestorSqueaks);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue