Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 22, 2024
1 parent f143d73 commit 89f60a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/experimental/nodes/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ const App: React.FC = () => {

const handleFileChange = (path: string, content: string) => {
// Update both openFiles and fileSystem
setOpenFiles(prev =>
setOpenFiles(prev =>
prev.map(f => f.path === path ? { ...f, content } : f)
);

setFileSystem(prev => ({
...prev,
files: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const CodeEditor: React.FC<CodeEditorProps> = ({
>
{getFileIcon(file.path)}
<span className="tab-title">{getFileName(file.path)}</span>
<span
<span
className="tab-close"
onClick={(e) => handleClose(e, file.path)}
>
Expand Down

0 comments on commit 89f60a3

Please sign in to comment.