This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name":"Web development","settings":"{\"settings\":\"{\\r\\n \\\"glassit.alpha\\\": 215,\\r\\n \\\"editor.fontFamily\\\": \\\"Consolas, '2 Yekan', 'Courier New', monospace, FiraCode Nerd Font Propo\\\",\\r\\n \\\"files.autoSave\\\": \\\"afterDelay\\\",\\r\\n \\\"editor.formatOnSave\\\": true,\\r\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\",\\r\\n \\\"editor.fontSize\\\": 18,\\r\\n \\\"workbench.editor.enablePreview\\\": false,\\r\\n \\\"terminal.integrated.fontSize\\\": 16,\\r\\n \\\"editor.quickSuggestions\\\": {\\r\\n \\\"strings\\\": true\\r\\n },\\r\\n \\\"editor.tokenColorCustomizations\\\": {\\r\\n \\\"strings\\\": \\\"#10dbff\\\"\\r\\n },\\r\\n \\\"terminal.integrated.tabs.defaultIcon\\\": \\\"terminal-bash\\\",\\r\\n \\\"editor.wordWrap\\\": \\\"on\\\",\\r\\n \\\"typescript.updateImportsOnFileMove.enabled\\\": \\\"always\\\",\\r\\n \\\"javascript.updateImportsOnFileMove.enabled\\\": \\\"always\\\",\\r\\n \\\"workbench.colorTheme\\\": \\\"Dobri Next -A01- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const [cover, setCover] = useState<any>(); // paste this in tour component route | |
<FilePond | |
files={cover} | |
chunkUploads={true} | |
onupdatefiles={setCover} | |
server={{ | |
process: { | |
url: <COULDINARY_API_UPLOAD_IMAGE>, | |
onerror: (error: any) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const deleteProperties = (obj: any, propertiesToDelete: string[]) => { | |
for (const property of propertiesToDelete) { | |
delete obj[property]; | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"😀", | |
"😃", | |
"😄", | |
"😁", | |
"😆", | |
"😅", | |
"😂", | |
"🤣", | |
"😊", |