Skip to content

Commit

Permalink
Remove commented out old code.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdilauro committed Jul 29, 2024
1 parent 3dfe156 commit 9f72b9c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export default class ActionCreator extends BaseActionCreator {
static readonly CUSTOM_LISTS_FOR_BOOK = "CUSTOM_LISTS_FOR_BOOK";
static readonly EDIT_CUSTOM_LISTS_FOR_BOOK = "EDIT_CUSTOM_LISTS_FOR_BOOK";
static readonly CIRCULATION_EVENTS = "CIRCULATION_EVENTS";
// static readonly STATS = "STATS";
static readonly LIBRARIES = "LIBRARIES";
static readonly EDIT_LIBRARY = "EDIT_LIBRARY";
static readonly DELETE_LIBRARY = "DELETE_LIBRARY";
Expand Down Expand Up @@ -162,11 +161,6 @@ export default class ActionCreator extends BaseActionCreator {
static readonly CIRCULATION_EVENTS_FAILURE = "CIRCULATION_EVENTS_FAILURE";
static readonly CIRCULATION_EVENTS_LOAD = "CIRCULATION_EVENTS_LOAD";

// static readonly STATS_REQUEST = "STATS_REQUEST";
// static readonly STATS_SUCCESS = "STATS_SUCCESS";
// static readonly STATS_FAILURE = "STATS_FAILURE";
// static readonly STATS_LOAD = "STATS_LOAD";

static readonly CHANGE_PASSWORD = "CHANGE_PASSWORD";

static readonly GET_SELF_TESTS = "GET_SELF_TESTS";
Expand Down Expand Up @@ -423,11 +417,6 @@ export default class ActionCreator extends BaseActionCreator {
).bind(this);
}

// fetchStatistics() {
// const url = "/admin/stats";
// return this.fetchJSON<StatisticsData>(ActionCreator.STATS, url).bind(this);
// }

fetchLibraries() {
const url = "/admin/libraries";
return this.fetchJSON<LibrariesData>(ActionCreator.LIBRARIES, url).bind(
Expand Down

0 comments on commit 9f72b9c

Please sign in to comment.