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
| 'use client' | |
| import { useState } from 'react'; | |
| import { useSession } from 'next-auth/react'; | |
| import { useRouter } from 'next/navigation'; | |
| import EmployeeForm from '@src/components/EmployeeForm'; | |
| const CreateEmployee = () => { | |
| const router = useRouter(); | |
| const { data: session } = useSession(); |
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
| Step 1: ./bin/setup | |
| - Running this command to see where were are at with the application | |
| Step 2: | |
| - In the project within the Gemfile change the following: | |
| gem 'rails', '4.2.5' => '4.2.8' | |
| ruby "2.2.0" => "2.5.0" | |
| - In .ruby-version change current ruby listed as "2.2.0" => "2.5.0" | |