refactor(crud): adjust format
This commit is contained in:
parent
94c8319a23
commit
aece34978e
|
@ -1,6 +1,6 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { BrowserRouter as Router,Route, Routes }
|
import { BrowserRouter as Router,Route, Routes } from 'react-router-dom';
|
||||||
from 'react-router-dom';
|
|
||||||
import Create from './components/create';
|
import Create from './components/create';
|
||||||
import CreateRgnCycle from './components/create-rgn-cycle';
|
import CreateRgnCycle from './components/create-rgn-cycle';
|
||||||
import Edit from './components/edit';
|
import Edit from './components/edit';
|
||||||
|
|
|
@ -139,7 +139,8 @@ export default function Home(){
|
||||||
<td>{item[1]}</td>
|
<td>{item[1]}</td>
|
||||||
<td>{item[2]}</td>
|
<td>{item[2]}</td>
|
||||||
<td>{item[3]}</td>
|
<td>{item[3]}</td>
|
||||||
<td><Link
|
<td>
|
||||||
|
<Link
|
||||||
to={`/update`}
|
to={`/update`}
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Reference in New Issue