Skip to content

Commit

Permalink
Removed console logs from RestoreHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
doracretu3pillar committed Nov 7, 2024
1 parent 16fd3df commit 67f2276
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,13 @@ export const RestoreHistory: FC = () => {
};

const onLogClick = (restore: Restore) => {
console.log('onLogClick', restore);
setSelectedRestore(restore);
setLogsModalVisible(true);
};

const getLogs = useCallback(
async (startingChunk: number, offset: number, token?: CancelToken) => {
console.log('selectedRestore!.id', selectedRestore!.id);
return RestoreHistoryService.getLogs(selectedRestore!.id, startingChunk, offset, token)
}
async (startingChunk: number, offset: number, token?: CancelToken) =>
RestoreHistoryService.getLogs(selectedRestore!.id, startingChunk, offset, token),
[selectedRestore]
);

Expand Down

0 comments on commit 67f2276

Please sign in to comment.