Fixed typecheck error
X-Lovable-Edit-ID: edt-dd5d92c8-ee04-4d92-898c-3a54923dc58d Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
@@ -57,7 +57,7 @@ function InboxPage() {
|
||||
if (error) {
|
||||
toast.error("Failed to load inbox", { description: error.message });
|
||||
} else {
|
||||
setEmails((data as IncomingEmail[]) ?? []);
|
||||
setEmails((data as unknown as IncomingEmail[]) ?? []);
|
||||
}
|
||||
setLoading(false);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user