💄 Optimized creator dashboard

This commit is contained in:
2025-05-16 15:09:38 +08:00
parent 9fcc70d659
commit a9da4b4f4f
3 changed files with 81 additions and 26 deletions

View File

@ -59,7 +59,11 @@ class ManagedPublisherScreen extends HookConsumerWidget {
trailing: const Icon(Symbols.chevron_right),
contentPadding: const EdgeInsets.symmetric(horizontal: 24),
onTap: () {
context.router.push(NewPublisherRoute());
context.router.push(NewPublisherRoute()).then((value) {
if (value != null) {
ref.invalidate(publishersManagedProvider);
}
});
},
),
const Divider(height: 1),