Skip to content

Commit c8a9a0b

Browse files
yuanjackie1jasnoo
authored andcommitted
Moved DiffProps interface to FrontendTypes
1 parent 3808a3d commit c8a9a0b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/app/components/Diff.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ import React from 'react';
22
import { diff, formatters } from 'jsondiffpatch';
33
import ReactHtmlParser from 'react-html-parser';
44
import { useStoreContext } from '../store';
5+
import { DiffProps } from '../components/FrontendTypes';
56

6-
interface DiffProps {
7-
snapshot: { state?: Record<string, unknown> };
8-
show?: boolean | undefined;
9-
}
107
/**
118
* Displays tree showing specific two versions of tree
129
* one with specific state changes, the other the whole tree

0 commit comments

Comments
 (0)