Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin committed Jan 3, 2024
1 parent 6d7f200 commit a8d61a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/app/search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ async function get(ctx: any) {
// TODO: refactor
// TODO: assert query params
try {
console.log(ctx.searchParams['q'])
if (ctx.searchParams['q'] === undefined) {
return {
props: {
Expand Down Expand Up @@ -70,7 +69,6 @@ async function get(ctx: any) {
}

async function execute(ctx, words: Array<string>) {
console.log(words);
const response = await search(getRequestContext(), words);
if (response.status !== 200) {
return emptyResult;
Expand Down
5 changes: 3 additions & 2 deletions src/app/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import DropdownComponent from '../../components/dropdown';
import containerStyles from '../../styles/components/container.module.scss';
import inputStyles from '../../styles/input.module.scss';

export const Page: React.FunctionComponent<{ }> = ({ }) => {
export default function Page(){

const theme = getThemeSetting();

const [selectedOption, setSelectedOption] = useState('');
Expand Down Expand Up @@ -47,4 +48,4 @@ export const Page: React.FunctionComponent<{ }> = ({ }) => {
</main>
</>
)
}
};

0 comments on commit a8d61a3

Please sign in to comment.