Commit c69858a
committed
feat: enhance CodeEditor functionality
- Update useEffect dependency to include activeFile for clipboard functionality.
- Add a check in handleDownload to prevent errors when no activeFile is selected.1 parent 9e5269f commit c69858a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
0 commit comments