This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from "react"; | |
import Papa from "papaparse"; | |
import { Table, Alert } from "react-bootstrap"; | |
const allowedExtensions = ["csv"]; | |
const App = () => { | |
const [data, setData] = useState([]); | |
const [error, setError] = useState(""); | |
const [file, setFile] = useState(""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from "react"; | |
import Papa from "papaparse"; | |
import DataTable from "react-data-table-component"; | |
import { Alert } from "react-bootstrap"; | |
const allowedExtensions = ["csv"]; | |
const App = () => { | |
const [data, setData] = useState([]); | |
const [error, setError] = useState(""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useTranslation } from "next-i18next"; | |
import React, { useCallback, useEffect, useMemo, useState } from "react"; | |
import { Card, Form, InputGroup, Modal } from "react-bootstrap"; | |
import DataTable from "react-data-table-component"; | |
import { useDebounce } from "use-debounce"; | |
import noData from "../../../../public/assets/img/svgs/no_data.svg"; | |
import { useAppSelector } from "../../../../store"; | |
import { useGetAdminsListQuery } from "../../../../store/services/admin/admin"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<svg | |
width="47" | |
height="41" | |
viewBox="0 0 47 41" | |
fill="none" | |
xmlns="http://www.w3.org/2000/svg" | |
> | |
<path | |
d="M29.7299 31.4H36.7556C41.84 31.4 46 28.479 46 23.04C46 17.601 41.1005 14.893 37.1254 14.68C36.3036 6.174 30.5619 1 23.8135 1C17.4349 1 13.3266 5.579 11.9807 10.12C6.43403 10.69 1.62695 14.508 1.62695 20.76C1.62695 27.012 6.61892 31.4 12.7202 31.4H17.8971" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const loginForm = { | |
userEmail: { | |
minLen: 2, | |
maxLen: 255, | |
message: 'Please enter a valid email or 10 digit phone number' | |
}, | |
password: { | |
message: 'Please enter your password' | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<b-row> | |
<b-colxx xxs="12"> | |
<piaf-breadcrumb :heading="$t('menu.analytics')" /> | |
<page-info :text="$t('home.page-info')"></page-info> | |
<div class="separator mb-5"></div> | |
</b-colxx> | |
</b-row> | |
<b-row> |