File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1+ import { TOOLTIPS_DICT } from "@/src/util/tooltip-constants" ;
12import { Tooltip } from "@nextui-org/react" ;
23import { useMemo } from "react" ;
34
@@ -11,7 +12,7 @@ export function VisitBricksButton(props: { urlExtension?: "generators" | "extrac
1112 return "bg-white text-gray-900 text font-semibold px-4 py-2 rounded-md border border-gray-300 hover:bg-gray-50 focus:outline-none " + toTextSize ( props . size )
1213 } , [ props . size ] )
1314
14- return < Tooltip content = "Our ready to be pasted code snippets" placement = { props . tooltipPlacement || "top" } color = "invert" className = "cursor-auto" >
15+ return < Tooltip content = { TOOLTIPS_DICT . GENERAL . VISIT_BRICKS } placement = { props . tooltipPlacement || "top" } color = "invert" className = "cursor-auto" >
1516 < a href = { props . urlExtension ? BASE_URL + props . urlExtension : BASE_URL } target = "_blank" rel = "noreferrer" >
1617 < button
1718 className = { buttonClasses } >
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ export const TOOLTIPS_DICT = {
2626 'USERS' : 'Home page - Users' ,
2727 'SHOW_PASSWORD' : 'Show password' ,
2828 'HIDE_PASSWORD' : 'Hide password' ,
29+ 'VISIT_BRICKS' : "Our ready to be pasted code snippets"
2930 } ,
3031 [ 'SIDEBAR' ] : {
3132 'OVERVIEW' : 'Overview' ,
You can’t perform that action at this time.
0 commit comments