mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-06 09:37:18 +03:00
9 lines
235 B
JavaScript
9 lines
235 B
JavaScript
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} />;
|
|
}
|