mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-01 22:01:47 -04:00
19 lines
394 B
JavaScript
19 lines
394 B
JavaScript
import React from 'react';
|
|
import { Router } from '@reach/router';
|
|
|
|
import RedirectHome from '../components/RedirectHome';
|
|
import ShowSettings from '../client-only-routes/ShowSettings';
|
|
|
|
function Settings() {
|
|
return (
|
|
<Router>
|
|
<ShowSettings path='/settings' />
|
|
<RedirectHome default={true} />
|
|
</Router>
|
|
);
|
|
}
|
|
|
|
Settings.displayName = 'Settings';
|
|
|
|
export default Settings;
|