Skip to content

Commit c9104c5

Browse files
committed
update comment
Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
1 parent b72d83c commit c9104c5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

public/app.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const FlowFrameworkDashboardsApp = (props: Props) => {
6262
<Workflows {...routeProps} />
6363
)}
6464
/>
65-
{/* Defaulting to Workflow Management page */}
65+
{/* Defaulting to Workflows page */}
6666
<Route
6767
path={`${APP_PATH.HOME}`}
6868
render={(routeProps: RouteComponentProps<WorkflowsRouterProps>) => (

public/pages/workflow_detail/resources/resource_list.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ interface ResourceListProps {
2121
* The searchable list of resources for a particular workflow.
2222
*/
2323
export function ResourceList(props: ResourceListProps) {
24-
const [allResources, setAllResources] = useState<WorkflowResource[]>(
25-
props.workflow?.resourcesCreated || []
26-
);
24+
const [allResources, setAllResources] = useState<WorkflowResource[]>([]);
2725

2826
// Hook to initialize all resources
2927
useEffect(() => {

0 commit comments

Comments
 (0)