mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-07 18:17:18 +03:00
10 lines
235 B
React
10 lines
235 B
React
|
import { useParams } from 'react-router-dom';
|
||
|
|
||
|
import Status from './status';
|
||
|
|
||
|
export default function StatusRoute() {
|
||
|
const params = useParams();
|
||
|
const { id, instance } = params;
|
||
|
return <Status id={id} instance={instance} />;
|
||
|
}
|