Changed route ids to be more explicit.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import UserSettings from './UserSettings';
|
||||
|
||||
export default function ({ params }) {
|
||||
export default function ({ params: { userId } }) {
|
||||
if (process.env.cloudMode) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return <UserSettings userId={params.id} />;
|
||||
return <UserSettings userId={userId} />;
|
||||
}
|
||||
Reference in New Issue
Block a user