Skip to content

Commit

Permalink
removed some feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kdetry committed Oct 14, 2024
1 parent d6c0fbe commit 278a5ea
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pdr_backend/pdr_dashboard/callbacks/callbacks_home.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ def get_initial_data(_):

selected_predictoors = list(range(len(app.data.favourite_addresses)))
selected_predictoors_addrs = app.data.favourite_addresses
if len(selected_predictoors) == 0:
max_profit_predictoor_index = app.data.predictoors_data[
"total_profit"
].arg_max()
selected_predictoors = list([max_profit_predictoor_index])
selected_predictoors_addrs = [
app.data.predictoors_data[max_profit_predictoor_index, "user"]
]

selected_feeds, feed_data = app.data.get_feeds_for_favourite_predictoors(
feed_data,
Expand Down

0 comments on commit 278a5ea

Please sign in to comment.