专案完成
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import QuataSections from "./quotation";
|
||||
import TaskSections from "./task";
|
||||
|
||||
import Project from './project'
|
||||
export default function SectionComponent({ activeType }) {
|
||||
const renderFn = (type) => {
|
||||
switch (type) {
|
||||
@@ -10,7 +10,7 @@ export default function SectionComponent({ activeType }) {
|
||||
case "task":
|
||||
return <TaskSections />;
|
||||
default:
|
||||
return <div></div>;
|
||||
return <Project></Project>;
|
||||
}
|
||||
};
|
||||
return <>{renderFn(activeType)}</>;
|
||||
|
||||
Reference in New Issue
Block a user