|
|
@ -9,13 +9,13 @@ import './table.css'; |
|
|
|
import { BASE_OSPRO, ASSIGN_HR_PROJECT_SEARCH } from '../../../../const/ApiConst'; |
|
|
|
import { BASE_OSPRO, ASSIGN_HR_PROJECT_SEARCH } from '../../../../const/ApiConst'; |
|
|
|
import { Prompt } from 'react-router-dom'; |
|
|
|
import { Prompt } from 'react-router-dom'; |
|
|
|
//
|
|
|
|
//
|
|
|
|
const config = { |
|
|
|
//const config = {
|
|
|
|
headers: |
|
|
|
// headers:
|
|
|
|
{ |
|
|
|
// {
|
|
|
|
Authorization: `Bearer ${token}`, |
|
|
|
// Authorization: `Bearer ${token}`,
|
|
|
|
"Content-type": `application/json` |
|
|
|
// "Content-type": `application/json`
|
|
|
|
} |
|
|
|
// }
|
|
|
|
}; |
|
|
|
//};
|
|
|
|
//const token = window.localStorage.getItem('token');
|
|
|
|
//const token = window.localStorage.getItem('token');
|
|
|
|
const token = localStorage.getItem("token"); |
|
|
|
const token = localStorage.getItem("token"); |
|
|
|
const HEADER = { |
|
|
|
const HEADER = { |
|
|
|