Skip to content

Commit

Permalink
Fix diff view
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellCanfield committed Oct 25, 2024
1 parent 1819411 commit 02cf313
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wing-man",
"displayName": "Wingman-AI",
"description": "Wingman - AI powered assistant to help you write your best code, we won't leave you hanging.",
"version": "0.7.32",
"version": "0.7.33",
"publisher": "WingMan",
"license": "MIT",
"workspaces": [
Expand Down
6 changes: 3 additions & 3 deletions views-ui/src/Diff/DiffView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from "react-syntax-highlighter/dist/esm/styles/prism";
import "./App.css";
import { memo, PropsWithChildren, useEffect, useState } from "react";
import { AppMessage } from "@shared/types/Message";
import { AppMessage, FileMetadata } from "@shared/types/Message";
import { DiffViewCommand } from "@shared/types/Composer";
import { FaCheckCircle } from "react-icons/fa";
import { vscode } from "./utilities/vscode";
Expand Down Expand Up @@ -78,9 +78,9 @@ export default function DiffView() {
vscode.postMessage({
command: "accept-file-changes",
value: {
file: diff?.file,
path: diff?.file!,
code: diff?.diff,
},
} satisfies FileMetadata,
});
};

Expand Down

0 comments on commit 02cf313

Please sign in to comment.