Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: import markdown file (#2841)

Nathan.fooo79fc7c4cfe73
diff --git a/frontend/appflowy_flutter/lib/plugins/document/document.dart b/frontend/appflowy_flutter/lib/plugins/document/document.dart
index fd92994994..15101017aa 100644
--- a/frontend/appflowy_flutter/lib/plugins/document/document.dart
+++ b/frontend/appflowy_flutter/lib/plugins/document/document.dart
@@ -126,7 +126,10 @@ class DocumentPluginWidgetBuilder extends PluginWidgetBuilder
Widget? get rightBarItem {
return Row(
children: [
- DocumentShareButton(view: view),
+ DocumentShareButton(
+ key: ValueKey(view.id),
+ view: view,
+ ),
const SizedBox(width: 10),
BlocProvider.value(
value: documentAppearanceCubit,