@@ -48,7 +48,7 @@ import { InboxTaskStack } from "~/components/domain/concept/inbox-task/inbox-tas
4848import { makeLeafErrorBoundary } from "~/components/infra/error-boundary" ;
4949import { FieldError , GlobalError } from "~/components/infra/errors" ;
5050import { LeafPanel } from "~/components/infra/layout/leaf-panel" ;
51- import { SectionCardNew } from "~/components/infra/section-card-new " ;
51+ import { SectionCard } from "~/components/infra/section-card" ;
5252import { ProjectSelect } from "~/components/domain/concept/project/project-select" ;
5353import { TimePlanActivityList } from "~/components/domain/concept/time-plan/time-plan-activity-list" ;
5454import { validationErrorToUIErrorInfo } from "~/logic/action-result" ;
@@ -408,7 +408,8 @@ export default function BigPlan() {
408408 shouldShowALeaflet = { shouldShowALeaflet }
409409 >
410410 < NestingAwareBlock shouldHide = { shouldShowALeaflet } >
411- < SectionCardNew
411+ < GlobalError actionResult = { actionData } />
412+ < SectionCard
412413 id = "big-plan-properties"
413414 title = "Properties"
414415 actions = {
@@ -430,7 +431,6 @@ export default function BigPlan() {
430431 />
431432 }
432433 >
433- < GlobalError actionResult = { actionData } />
434434 < Stack spacing = { 2 } useFlexGap >
435435 < Box sx = { { display : "flex" , flexDirection : "row" , gap : "0.25rem" } } >
436436 < FormControl sx = { { flexGrow : 3 } } >
@@ -688,7 +688,7 @@ export default function BigPlan() {
688688 ) }
689689 </ Stack >
690690 </ CardActions >
691- </ SectionCardNew >
691+ </ SectionCard >
692692
693693 < Card >
694694 { ! loaderData . note && (
@@ -717,7 +717,7 @@ export default function BigPlan() {
717717 ) }
718718 </ Card >
719719
720- < SectionCardNew
720+ < SectionCard
721721 id = "big-plan-milestones"
722722 title = "Milestones"
723723 actions = {
@@ -735,9 +735,9 @@ export default function BigPlan() {
735735 }
736736 >
737737 < BigPlanMilestoneStack milestones = { loaderData . milestones } />
738- </ SectionCardNew >
738+ </ SectionCard >
739739
740- < SectionCardNew
740+ < SectionCard
741741 id = "big-plan-inbox-tasks"
742742 title = "Inbox Tasks"
743743 actions = {
@@ -771,14 +771,14 @@ export default function BigPlan() {
771771 onCardMarkNotDone = { handleCardMarkNotDone }
772772 />
773773 ) }
774- </ SectionCardNew >
774+ </ SectionCard >
775775
776776 { isWorkspaceFeatureAvailable (
777777 topLevelInfo . workspace ,
778778 WorkspaceFeature . TIME_PLANS ,
779779 ) &&
780780 timePlanActivities && (
781- < SectionCardNew
781+ < SectionCard
782782 id = "big-plan-time-plan-activities"
783783 title = "Time Plan Activities"
784784 >
@@ -792,7 +792,7 @@ export default function BigPlan() {
792792 timeEventsByRefId = { timeEventsByRefId }
793793 fullInfo = { false }
794794 />
795- </ SectionCardNew >
795+ </ SectionCard >
796796 ) }
797797 </ NestingAwareBlock >
798798
0 commit comments