This file contains hidden or 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 submitter = ( | |
| endpoint, | |
| { fileName, committer, content, lang, contentType, branch = '' }, | |
| ) => { | |
| const dataToSend = { | |
| fileToUpdate: `${fileName}.${contentType}`, | |
| committer, | |
| content, | |
| lang, | |
| contentType, |
This file contains hidden or 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 Head from "next/head"; | |
| import MainLayout from "../src/components/layout/mainLayout"; | |
| import Footer from "../src/components/layout/footer"; | |
| import UserTableContainer from "../src/components/containers/usertableContainer"; | |
| export default function Home() { | |
| return ( | |
| <div> | |
| <Head> | |
| <title>Task</title> |
This file contains hidden or 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 RegularButton from "../button/regular.button"; | |
| import UsersTable from "../tables/usersTable"; | |
| import { useModal } from "../../context/modal.context"; | |
| import UserSearchBar from "./userSearchBar"; | |
| export default function UserTableContainer() { | |
| const { toggleVisible } = useModal(); | |
| const openModal = () => { |
OlderNewer