Feature/56 add endorsements to pilot form (#63)

* adding endorsements to pilot form

* upgrading noahspan-components

* updating verison number
This commit was merged in pull request #63.
This commit is contained in:
2025-03-05 15:08:34 +00:00
committed by GitHub
parent 393364feb6
commit c3af2ec8ce
8 changed files with 320 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "app",
"private": true,
"version": "1.0.1",
"version": "1.1.0",
"type": "module",
"scripts": {
"dev": "vite",
@@ -13,7 +13,7 @@
"dependencies": {
"@azure/msal-browser": "^4.0.1",
"@azure/msal-react": "^3.0.1",
"@noahspan/noahspan-components": "^1.3.1",
"@noahspan/noahspan-components": "^1.4.0",
"axios": "^1.7.2",
"dotenv": "^16.4.7",
"react": "^18.3.1",

View File

@@ -109,7 +109,7 @@ const PilotFormCertificates = ({
<Controller
name={`certificates.${index}.dateOfIssue`}
control={control}
render={({ field: { onChange, value} }) => {
render={({ field: { onChange, value } }) => {
return (
<DatePicker
disabled={isDisabled}

View File

@@ -1,10 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body {
@apply bg-[#fafaf9];
@apply text-black;
}
body {
background-color: #efefef;
}

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Flying</title>
</head>
<body>
<div id="root"></div>

View File

@@ -3,11 +3,10 @@ import ReactDOM from 'react-dom/client';
import App from './App.tsx';
import AppContextProvider from './context/appContext/AppContextProvider.tsx';
import { BrowserRouter } from 'react-router-dom';
import './index.css';
import '@noahspan/noahspan-components/noahspan-components.css';
import { AuthenticationResult, EventMessage, EventType, PublicClientApplication } from '@azure/msal-browser';
import { MsalProvider } from '@azure/msal-react';
import { msalConfig } from './auth/msalConfig';
import './index.css';
const msalInstance: PublicClientApplication = new PublicClientApplication(msalConfig);