updated naming convention meta and pdf fixes
This commit is contained in:
@@ -11,6 +11,7 @@ import ReactPDF, {
|
||||
import { createElement } from "react";
|
||||
import Html from "react-pdf-html";
|
||||
import { getFormCollectionByID } from "../../components/utils";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
page: {
|
||||
@@ -88,6 +89,7 @@ const styles = StyleSheet.create({
|
||||
});
|
||||
|
||||
export const other_pdf = ({ docProps }) => {
|
||||
let { t } = useTranslation();
|
||||
//console.log("----", docProps);
|
||||
function formatDates(dateObj) {
|
||||
var dateObj = new Date(dateObj);
|
||||
|
||||
Reference in New Issue
Block a user