= (props) => {
const { projectName } = useMutableState(EditorState)
const staticResource = useFind(staticResourcePath, { query: { key: props.item.key, project: projectName.value! } })
const thumbnailURL = staticResource.data[0]?.thumbnailURL
+ const { t } = useTranslation()
+
return (
= (props) => {
color="text-[#375DAF]"
/>
- {props.item.fullName}
+
+
+ {props.item.fullName}
+
)
}
@@ -227,7 +233,6 @@ export function FileBrowserItem({
const [anchorEvent, setAnchorEvent] = React.useState>(undefined)
const fileService = useMutation(fileBrowserPath)
-
const handleContextMenu = (event: React.MouseEvent) => {
event.preventDefault()
event.stopPropagation()