- upgrade react-resizable-panels to latest version

- update translations
- remove cypress
- add await to all return blocks
This commit is contained in:
Amruth Pillai
2023-11-19 09:52:55 +01:00
parent 9c4db2956b
commit 8b217dfcfa
95 changed files with 4162 additions and 4213 deletions

View File

@ -22,10 +22,10 @@ export const TemplateSection = () => {
<main className="grid grid-cols-2 gap-5 @lg/right:grid-cols-3 @2xl/right:grid-cols-4">
{templatesList.map((template, index) => (
<AspectRatio ratio={1 / 1.4142}>
<AspectRatio key={template} ratio={1 / 1.4142}>
<motion.div
initial={{ opacity: 0, x: -50 }}
animate={{ opacity: 1, x: 0, transition: { delay: index * 0.1 } }}
initial={{ opacity: 0 }}
animate={{ opacity: 1, transition: { delay: index * 0.1 } }}
whileTap={{ scale: 0.98, transition: { duration: 0.1 } }}
onClick={() => setValue("metadata.template", template)}
className={cn(