mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-30 03:54:12 +01:00
Fix up some of the new formatting stuff
This commit is contained in:
1 parent
e216214085
commit
57a05d5486
7 files changed
+70
-17
No files matched your search
@@ -12,7 +12,7 @@ export function useFormatText({
|
||||
pretty: boolean;
|
||||
}) {
|
||||
return useQuery({
|
||||
queryKey: [text],
|
||||
queryKey: [text, language, pretty],
|
||||
queryFn: async () => {
|
||||
if (text === '' || !pretty) {
|
||||
return text;
|
||||
|
||||
Reference in new issue
Block a user