Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
This commit is contained in:
@@ -62,7 +62,7 @@ async function fetchTikTokOEmbed(url: string): Promise<{
|
||||
videoId: string | null;
|
||||
} | null> {
|
||||
try {
|
||||
const electron = (window as any).electron;
|
||||
const { electron } = window as any;
|
||||
let data;
|
||||
if (electron?.tiktok?.getOEmbed) {
|
||||
data = await electron.tiktok.getOEmbed(url);
|
||||
|
||||
Reference in New Issue
Block a user