Compare commits
2 Commits
c10e094ed4
...
ca5f2739db
| Author | SHA1 | Date | |
|---|---|---|---|
| ca5f2739db | |||
| ff67fded34 |
@ -49,7 +49,7 @@ interface Auction {
|
||||
age_years: number | null
|
||||
tld: string
|
||||
affiliate_url: string
|
||||
valuation: AuctionValuation | null
|
||||
valuation?: AuctionValuation | null
|
||||
}
|
||||
|
||||
interface Opportunity {
|
||||
|
||||
@ -682,17 +682,17 @@ export default function DashboardPage() {
|
||||
<Sparkles className="w-4 h-4" />
|
||||
</button>
|
||||
<button
|
||||
onClick={() => handleToggleNotify(domain.id, domain.notify)}
|
||||
onClick={() => handleToggleNotify(domain.id, domain.notify_on_available)}
|
||||
disabled={togglingNotifyId === domain.id}
|
||||
className={clsx(
|
||||
"p-2 rounded-lg transition-all",
|
||||
domain.notify
|
||||
domain.notify_on_available
|
||||
? "text-accent hover:text-accent-hover hover:bg-accent-muted"
|
||||
: "text-foreground-subtle hover:text-foreground hover:bg-background-tertiary"
|
||||
)}
|
||||
title={domain.notify ? "Notifications on" : "Notifications off"}
|
||||
title={domain.notify_on_available ? "Notifications on" : "Notifications off"}
|
||||
>
|
||||
<Bell className={clsx("w-4 h-4", domain.notify && "fill-current", togglingNotifyId === domain.id && "animate-pulse")} />
|
||||
<Bell className={clsx("w-4 h-4", domain.notify_on_available && "fill-current", togglingNotifyId === domain.id && "animate-pulse")} />
|
||||
</button>
|
||||
<button
|
||||
onClick={() => handleRefresh(domain.id)}
|
||||
|
||||
@ -151,3 +151,4 @@ export function Footer() {
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ class ApiClient {
|
||||
return this.token
|
||||
}
|
||||
|
||||
private async request<T>(
|
||||
protected async request<T>(
|
||||
endpoint: string,
|
||||
options: RequestInit = {}
|
||||
): Promise<T> {
|
||||
|
||||
Reference in New Issue
Block a user