π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: observer added to empty state component (#4274)
Anmol Singh Bhatia1789b8ddeb99
diff --git a/web/components/empty-state/empty-state.tsx b/web/components/empty-state/empty-state.tsxindex 790bd5aecc..e518b34878 100644--- a/web/components/empty-state/empty-state.tsx+++ b/web/components/empty-state/empty-state.tsx@@ -1,4 +1,5 @@import React from "react";+import { observer } from "mobx-react";import Image from "next/image";import Link from "next/link";@@ -23,7 +24,7 @@ export type EmptyStateProps = {secondaryButtonOnClick?: () => void;};-export const EmptyState: React.FC<EmptyStateProps> = (props) => {+export const EmptyState: React.FC<EmptyStateProps> = observer((props) => {const {type,size = "lg",@@ -173,4 +174,4 @@ export const EmptyState: React.FC<EmptyStateProps> = (props) => {)}</>);-};+});