🐛 Fixes on post route
This commit is contained in:
@ -45,7 +45,7 @@ class PostItemCreator extends HookConsumerWidget {
|
||||
title: 'edit'.tr(),
|
||||
image: MenuImage.icon(Symbols.edit),
|
||||
callback: () {
|
||||
context.push('/posts/item.id/edit').then((value) {
|
||||
context.push('/posts/${item.id}/edit').then((value) {
|
||||
if (value != null) {
|
||||
onRefresh?.call();
|
||||
}
|
||||
@ -80,7 +80,7 @@ class PostItemCreator extends HookConsumerWidget {
|
||||
image: MenuImage.icon(Symbols.link),
|
||||
callback: () {
|
||||
// Copy post link to clipboard
|
||||
context.push('/posts/item.id');
|
||||
context.push('/posts/${item.id}');
|
||||
},
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user