fix: Add explicit type for mergedCookies
This commit is contained in:
parent
ccfa897ac9
commit
962ff4667c
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ export function PromptHero() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Merge cookies safely
|
// Merge cookies safely
|
||||||
let mergedCookies = settings.metaCookies;
|
let mergedCookies: string | any[] = settings.metaCookies;
|
||||||
try {
|
try {
|
||||||
const safeParse = (str: string) => {
|
const safeParse = (str: string) => {
|
||||||
if (!str || str === "undefined" || str === "null") return [];
|
if (!str || str === "undefined" || str === "null") return [];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue