Currently lifts tables for the athlete detail view and competition detail view are duplicated and could possibly combine together into a single component (despite having different columns).
In fact, with all lift tables. It might be better to pass an object through than an array of strings (see example below).
Currently lifts tables for the athlete detail view and competition detail view are duplicated and could possibly combine together into a single component (despite having different columns).
In fact, with all lift tables. It might be better to pass an object through than an array of strings (see example below).
Examples: How it is done:
How it should be (maybe?):