Skip to content

Commit

Permalink
not sure how to solve these ...
Browse files Browse the repository at this point in the history
  • Loading branch information
michenly committed May 13, 2024
1 parent 6c30b20 commit f524709
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions templates/skeleton/app/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ export function NoSearchResults() {

type ChildrenRenderProps = {
fetchResults: (event: React.ChangeEvent<HTMLInputElement>) => void;
//Todo: fix this type
fetcher: ReturnType<typeof useFetcher<NormalizedPredictiveSearchResults>>;
inputRef: React.MutableRefObject<HTMLInputElement | null>;
};
Expand Down
3 changes: 2 additions & 1 deletion templates/skeleton/app/entry.server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ export default async function handleRequest(
}

responseHeaders.set('Content-Type', 'text/html');
responseHeaders.set('Content-Security-Policy', header);
// Todo: bring CSP back
// responseHeaders.set('Content-Security-Policy', header);

return new Response(body, {
headers: responseHeaders,
Expand Down

0 comments on commit f524709

Please sign in to comment.