Skip to content

Commit 05836c4

Browse files
fix: update strokeDasharray type to number and clear default image formats in storage setup
1 parent ca4c82c commit 05836c4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/components/magicui/animated-grid-pattern.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* eslint-disable @typescript-eslint/no-explicit-any */
21
"use client";
3-
42
import { motion } from "motion/react";
53
import {
64
ComponentPropsWithoutRef,
@@ -18,7 +16,7 @@ export interface AnimatedGridPatternProps
1816
height?: number;
1917
x?: number;
2018
y?: number;
21-
strokeDasharray?: any;
19+
strokeDasharray?: number;
2220
numSquares?: number;
2321
maxOpacity?: number;
2422
duration?: number;

src/models/server/storageSetup.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default async function getOrCreateStorage(){
2121
false,
2222
undefined,
2323
undefined,
24-
["jpeg", "png", "gif", "webp", "heic"]
24+
[],
2525
)
2626
console.log("Bucket is created")
2727
console.log("Storage connected")
@@ -30,4 +30,5 @@ export default async function getOrCreateStorage(){
3030
}
3131
console.error("error creating storage: ", error)
3232
}
33-
}
33+
}
34+
// "jpeg", "png", "gif", "webp", "heic", "jpg"

0 commit comments

Comments
 (0)