Skip to content

Commit

Permalink
Move home to pages out of api
Browse files Browse the repository at this point in the history
This fixes an error with sentry
  • Loading branch information
andychase committed Sep 20, 2024
1 parent 49c262f commit f52e84c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
4 changes: 2 additions & 2 deletions pages/api/home/home.tsx → pages/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ import { Chatbar } from '@/components/Chatbar/Chatbar';
import { Navbar } from '@/components/Mobile/Navbar';
import Promptbar from '@/components/Promptbar';

import HomeContext from './home.context';
import { HomeInitialState, initialState } from './home.state';
import HomeContext from '../api/home/home.context';
import { HomeInitialState, initialState } from '../api/home/home.state';

import { v4 as uuidv4 } from 'uuid';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default, getServerSideProps } from './api/home';
export { default, getServerSideProps } from './home';

0 comments on commit f52e84c

Please sign in to comment.