mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
Merge branch 'features/clean-up-authenticated-data' of github.com:khoj-ai/khoj into features/update-home-page
This commit is contained in:
@@ -64,9 +64,10 @@ div.chatBody {
|
|||||||
|
|
||||||
div.chatLayout {
|
div.chatLayout {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: 1fr;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.chatBox {
|
div.chatBox {
|
||||||
|
|||||||
@@ -23,6 +23,10 @@ export function useAuthenticatedData() {
|
|||||||
revalidateOnFocus: false,
|
revalidateOnFocus: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (data?.detail === "Forbidden") {
|
||||||
|
return { data: null, error: "Forbidden", isLoading: false };
|
||||||
|
}
|
||||||
|
|
||||||
return { data, error, isLoading };
|
return { data, error, isLoading };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ div.chatLayout {
|
|||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.chatBox {
|
div.chatBox {
|
||||||
|
|||||||
Reference in New Issue
Block a user