Skip to content

Commit

Permalink
[CodeFactor] Apply fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
code-factor committed Oct 25, 2024
1 parent d2eea97 commit e8e4f10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/execution-engine/src/ExecutionEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class ExecutionEngine {
this.logger.group("Executing Workflow");
this.logger.time("Workflow Execution");

let output: IExecutionResult = {
const output: IExecutionResult = {
result: [],
errors: [],
};
Expand Down
2 changes: 1 addition & 1 deletion packages/www/app/components/ui/animated-beam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const AnimatedBeam: React.FC<AnimatedBeamProps> = ({
const resizeObserver = new ResizeObserver((entries) => {
// For all entries, recalculate the path
// eslint-disable-next-line no-unused-vars
for (let _ of entries) {
for (const _ of entries) {

Check warning on line 96 in packages/www/app/components/ui/animated-beam.tsx

View check run for this annotation

codefactor.io / CodeFactor

packages/www/app/components/ui/animated-beam.tsx#L96

'_' is assigned a value but never used. (@typescript-eslint/no-unused-vars)
updatePath();
}
});
Expand Down
2 changes: 1 addition & 1 deletion packages/www/app/components/ui/animated-grid-pattern.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function GridPattern({
// Resize observer to update container dimensions
useEffect(() => {
const resizeObserver = new ResizeObserver((entries) => {
for (let entry of entries) {
for (const entry of entries) {
setDimensions({
width: entry.contentRect.width,
height: entry.contentRect.height,
Expand Down

0 comments on commit e8e4f10

Please sign in to comment.