30 | {
31 | value.map((s, i) =>
32 |
33 |
removeItem(i)}
36 | >
37 |
38 |
39 |
40 |
41 | {s}
42 |
43 |
44 | )
45 | }
46 |
47 |
53 |
54 | {
55 | str &&
56 |
{t("blur-to-add")}
57 | }
58 |
;
59 | }
60 |
--------------------------------------------------------------------------------
/src/renderer/components/misc/AnimatedRoute.tsx:
--------------------------------------------------------------------------------
1 | import { AnimatePresence, motion } from "framer-motion";
2 | import React from "react";
3 | import { useRoute } from "wouter";
4 |
5 | interface AnimatedRouteProps {
6 | path: string;
7 | component: React.ComponentType<{ params: any }>;
8 | }
9 |
10 | export type PropsWithParams