🐛 Fix add reaction to non-reaction post cause infinite loading
This commit is contained in:
parent
ad10084850
commit
1e4fda7daa
@ -135,7 +135,7 @@ class _PostItemState extends State<PostItem> {
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
reactionList = widget.item.reactionList;
|
||||
reactionList = widget.item.reactionList ?? {};
|
||||
super.initState();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user