Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Cassidy <[email protected]>
  • Loading branch information
stevecassidy committed Nov 22, 2024
1 parent 85e30db commit b1e4b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/gui/components/notebook/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default function NotebookComponent({project}: NotebookComponentProps) {

const {data: template_id} = useQuery({
queryKey: ['project-template-id', project.project_id],
queryFn: async () : Promise<string | null> => {
queryFn: async (): Promise<string | null> => {
// don't return undefined from queryFn
const id = await getMetadataValue(project.project_id, 'template_id');
if (id !== undefined) return id as string;
Expand Down

0 comments on commit b1e4b0b

Please sign in to comment.