Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Daniton
/
FreeGpt
like
0
Runtime error
App
Files
Files
Fetching metadata from the HF Docker repository...
main
FreeGpt
/
utils
/
app
/
folders.ts
Daniton
Duplicate from yxmnjxzx/chatbot-mini
5d4afba
almost 2 years ago
raw
Copy download link
history
blame
Safe
175 Bytes
import
{
FolderInterface
}
from
'@/types/folder'
;
export
const
saveFolders
= (
folders: FolderInterface[]
) => {
localStorage
.
setItem
(
'folders'
,
JSON
.
stringify
(folders));
};