You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We try to avoid using "string" values directly in code, this is to avoid duplication - imagine if we used the string "Bubble Sort" in 3 file, if that string changed now we have to remember to change it in 3 files.
Eliminate 'towers' state variable
We no longer need the following useEffect (L59),
Instead Inline the
arr.map((n: number, index: number) => (
code onto line 93<div className="flex mt-3 gap-1.5 justify-center">{towers}</div>
The text was updated successfully, but these errors were encountered: