Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit f617f3b

Browse files
committed
fix: type and style
1 parent 4c92fc3 commit f617f3b

4 files changed

Lines changed: 401 additions & 3 deletions

File tree

src/content-script/hooks/twitter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Main, { Hook } from '../index';
22
import { createApp, App } from 'vue';
3-
import ElementPlus, { ElMessage, MessageHandle } from 'element-plus';
3+
import ElementPlus, { ElMessage, MessageHandler } from 'element-plus';
44

55
import { upload } from '@/common/ipfs';
66
import { bucket, getSettings, key, store } from '@/common/store';
@@ -137,7 +137,7 @@ class TwitterHook {
137137
const settings = await getSettings();
138138
const handle = settings.handle;
139139
const syncing = settings.syncing;
140-
let notice: MessageHandle | undefined;
140+
let notice: MessageHandler | undefined;
141141

142142
if (handle && syncing === true) {
143143
if (attachmentUrls) {
@@ -207,7 +207,7 @@ class TwitterHook {
207207
const settings = await getSettings();
208208
const handle = settings.handle;
209209
const syncing = settings.syncing;
210-
let notice: MessageHandle | undefined;
210+
let notice: MessageHandler | undefined;
211211
if (handle && syncing === true) {
212212
// attachments
213213
notice = ElMessage.warning({

src/css/lib.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
@import 'element-plus/dist/index.css';
22

3+
@import 'preflight.css';
4+
35
@tailwind base;
46
@tailwind components;
57
@tailwind utilities;

0 commit comments

Comments
 (0)