- added settings page - can post and get data from endpoint
- moved toaster to main page - updated config for CORS
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
import Settings from "../features/settings/components/Settings";
|
||||
|
||||
export const Route = createFileRoute('/settings')({
|
||||
export const Route = createFileRoute("/settings")({
|
||||
component: RouteComponent,
|
||||
})
|
||||
});
|
||||
|
||||
function RouteComponent() {
|
||||
return <div>Hello "/settings"!</div>
|
||||
return (
|
||||
<div>
|
||||
<Settings />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user