implement the damn thing
This commit is contained in:
parent
51f0fe4ef4
commit
527b0adfb6
|
@ -60,9 +60,10 @@ class FullPostPage extends HookWidget {
|
|||
|
||||
// VARIABLES
|
||||
|
||||
final post = fullPostSnap.hasData ? fullPostSnap.data.post : this.post;
|
||||
final post = updatedPost.value?.post ??
|
||||
(fullPostSnap.hasData ? fullPostSnap.data.post : this.post);
|
||||
|
||||
final fullPost = fullPostSnap.data;
|
||||
final fullPost = updatedPost.value ?? fullPostSnap.data;
|
||||
|
||||
// FUNCTIONS
|
||||
|
||||
|
|
Loading…
Reference in New Issue