Skip to content

Commit

Permalink
disallow unreachable code in ts config, fix one case of it
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Aug 13, 2024
1 parent 3a6f815 commit 60ef745
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions app/pages/project/instances/instance/tabs/NetworkingTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,6 @@ export function NetworkingTab() {
}),
},
]

return [copyAction]
},
[ephemeralIpDetach, floatingIpDetach, instanceName, project]
)
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"compileOnSave": false,
"compilerOptions": {
"allowUnreachableCode": false,
"allowImportingTsExtensions": true,
"baseUrl": ".",
"esModuleInterop": true,
Expand Down

0 comments on commit 60ef745

Please sign in to comment.