Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyeYoung committed Jul 7, 2022
1 parent a422773 commit cc28a6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/pages/Route/Create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const Page: React.FC<Props> = (props) => {
advancedMatchingRules,
} as RouteModule.RequestData;

const path = props.route.path
const { path } = props.route

if (path.indexOf('edit') !== -1) {
update((props as any).match.params.rid, routeData).then(() => {
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/Route/typing.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ declare namespace RouteModule {
};

type Form1Data = {
id?:string;
id?: string;
name: string;
desc: string;
custom_version_label: string;
Expand Down

0 comments on commit cc28a6e

Please sign in to comment.