Skip to content

Commit

Permalink
fixing typescript checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony-MK authored Jan 17, 2024
1 parent 34636db commit 3be468a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/home/report/ReportActionItemCreated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ type ReportActionItemCreatedOnyxProps = {
personalDetails: OnyxEntry<PersonalDetailsList>;
};

type ReportActionItemCreatedProps = OnyxProps & {
type ReportActionItemCreatedProps = ReportActionItemCreatedOnyxProps & {
/** The id of the report */
reportID: string;

/** The id of the policy */
// eslint-disable-next-line react/no-unused-prop-types
policyID: string;

};
function ReportActionItemCreated(props: ReportActionItemCreatedProps) {
const styles = useThemeStyles();
Expand Down Expand Up @@ -95,7 +94,7 @@ function ReportActionItemCreated(props: ReportActionItemCreatedProps) {

ReportActionItemCreated.displayName = 'ReportActionItemCreated';

export default withOnyx<ReportActionItemCreatedProps, OnyxProps>({
export default withOnyx<ReportActionItemCreatedProps, ReportActionItemCreatedOnyxProps>({
report: {
key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT}${reportID}`,
selector: reportWithoutHasDraftSelector,
Expand Down

0 comments on commit 3be468a

Please sign in to comment.