This commit is contained in:
Untone 2024-05-06 23:36:27 +03:00
parent 417af2fc20
commit 8fc86b9bd9
4 changed files with 3 additions and 5 deletions

View File

@ -24,8 +24,8 @@
"lint:styles:fix": "stylelint **/*.{scss,css} --fix", "lint:styles:fix": "stylelint **/*.{scss,css} --fix",
"preview": "vite preview", "preview": "vite preview",
"start": "vite", "start": "vite",
"check:types": "tsc --noEmit", "typecheck": "tsc --noEmit",
"check:types:watch": "tsc --noEmit --watch" "typecheck:watch": "tsc --noEmit --watch"
}, },
"dependencies": { "dependencies": {
"form-data": "4.0.0", "form-data": "4.0.0",

View File

@ -28,7 +28,6 @@ const embedData = (data) => {
const result: { src: string; width?: string; height?: string } = { src: '' } const result: { src: string; width?: string; height?: string } = { src: '' }
// biome-ignore lint/style/useForOf: <explanation>
for (let i = 0; i < attributes.length; i++) { for (let i = 0; i < attributes.length; i++) {
const attribute = attributes.item(i) const attribute = attributes.item(i)
if (attribute) { if (attribute) {

View File

@ -59,7 +59,6 @@ export const Header = (props: Props) => {
const [isTopicsVisible, setIsTopicsVisible] = createSignal(false) const [isTopicsVisible, setIsTopicsVisible] = createSignal(false)
const [isZineVisible, setIsZineVisible] = createSignal(false) const [isZineVisible, setIsZineVisible] = createSignal(false)
const [isFeedVisible, setIsFeedVisible] = createSignal(false) const [isFeedVisible, setIsFeedVisible] = createSignal(false)
const { session } = useSession()
const toggleFixed = () => setFixed(!fixed()) const toggleFixed = () => setFixed(!fixed())

View File

@ -59,7 +59,7 @@ export const HeaderAuth = (props: Props) => {
toggleEditorPanel() toggleEditorPanel()
} }
const handleSaveButtonClick = () => { const _handleSaveButtonClick = () => {
saveShout(form) saveShout(form)
} }