Skip to content

Commit

Permalink
chore: remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Oct 15, 2024
1 parent 095b155 commit 0e2ce19
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ export function TransactionSettings() {
)

useEffect(() => {
console.log(`fuck:update widgetDeadline`, widgetDeadline)
if (widgetDeadline) {
// Deadline is stored in seconds
const value = Math.floor(widgetDeadline) * 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ export function DeadlineInput() {
if (widgetDeadlineMinutes) {
const widgetDeadlineDelta = widgetDeadlineMinutes * 60 * 1000

console.log(
`fuck:limit deadline custom stuff`,
widgetDeadlineMinutes,
widgetDeadlineDelta,
new Date(Date.now() + widgetDeadlineDelta),
)
const widgetTimestamp = (Date.now() + widgetDeadlineDelta) / 1000

const [min, max] = calculateMinMax()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,6 @@ export function TwapFormWidget() {
minutes = maxDuration
}

console.log(
`fuck:twap deadline`,
widgetDeadline,
minDuration,
maxDuration,
minutes,
new Date(widgetDeadline * 60 * 1000 + Date.now()),
)

updateSettingsState({
customDeadline: { hours: 0, minutes },
isCustomDeadline: true,
Expand Down

0 comments on commit 0e2ce19

Please sign in to comment.