Skip to content

refactor: remove extra closing tags #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/DSA/arrays/ArrayVisualizations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ArrayVisualizations: React.FC = () => {
key={index}
className={`array-bar ${index === minIndex ? 'min-value' : ''} ${index === currentIndex ? 'current-value' : ''}`}
style={{ height: `${value * 3}px` }}
></div>
/>
))}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const BubbleSortVisualization: React.FC = () => {
key={index}
className={`array-bar ${comparingIndices.includes(index) ? 'comparing' : ''}`}
style={{ height: `${value * 3}px` }}
></div>
/>
))}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const InsertionSortVisualization: React.FC = () => {
key={index}
className={`array-bar ${index === currentIndex ? 'current-index' : index === minIndex ? 'min-index' : ''}`}
style={{ height: `${value * 3}px`, transitionDelay: `${delay / 2}ms` }}
></div>
/>
))}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const SelectionSortVisualization: React.FC = () => {
key={index}
className={`array-bar ${comparingIndices.includes(index) ? 'comparing' : ''}`}
style={{ height: `${value * 3}px` }}
></div>
/>
))}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/File/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function File({ children, name }: { name: string; children: React.ReactNode }) {
<path
fillRule="evenodd"
d="M7.5 5L10 7.5 7.5 10l-.75-.75L8.5 7.5 6.75 5.75 7.5 5zm-3 0L2 7.5 4.5 10l.75-.75L3.5 7.5l1.75-1.75L4.5 5zM0 13V2c0-.55.45-1 1-1h10c.55 0 1 .45 1 1v11c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1zm1 0h10V2H1v11z"
></path>
/>
</svg>
<span>{name}</span>
</div>
Expand Down