Skip to content

Commit

Permalink
fix: updated comment with loading suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Apr 10, 2024
1 parent a2bc1fd commit ca3671a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/landing-page/productions-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const ProductionsList = () => {
useEffect(() => {
let aborted = false;

// TODO handle so future load-component isn't shown on every update
if (reloadProductionList || intervalLoad) {
setIntervalLoad(false);
API.listProductions()
Expand Down Expand Up @@ -94,6 +93,8 @@ export const ProductionsList = () => {

return (
<ProductionListContainer>
{/* // TODO handle so future load-component isn't shown on every update
// TODO ex className={loading && !intervalLoad ? "active" : "in-active"} */}
{/* TODO add loading indicator */}
{productions.map((p) => (
<ProductionItem key={p.id}>
Expand Down

0 comments on commit ca3671a

Please sign in to comment.