change invoice action impl. changing .http sample file
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import React, { useState, useRef } from "react";
|
||||
import { Card } from "antd";
|
||||
import { EditAction } from "./EditAction";
|
||||
import { DeleteAction } from "./DeleteAction";
|
||||
import { TrackCardBody } from "./TrackCardBody";
|
||||
import "./ManagedTrack.css";
|
||||
import React, { useState, useRef } from 'react';
|
||||
import { Card } from 'antd';
|
||||
import PropTypes from 'prop-types';
|
||||
import { EditAction } from './EditAction';
|
||||
import { DeleteAction } from './DeleteAction';
|
||||
import { TrackCardBody } from './TrackCardBody';
|
||||
import './ManagedTrack.css';
|
||||
|
||||
const ManagedTrack = ({ initialTrack, onDeleteTrack }) => {
|
||||
const trackElement = useRef();
|
||||
@@ -39,4 +40,9 @@ const ManagedTrack = ({ initialTrack, onDeleteTrack }) => {
|
||||
);
|
||||
};
|
||||
|
||||
ManagedTrack.propTypes = {
|
||||
initialTrack: PropTypes.object.isRequired,
|
||||
onDeleteTrack: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
export { ManagedTrack };
|
||||
|
||||
Reference in New Issue
Block a user