mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-04 09:06:01 +00:00
added format command and added trailing commas to reduce conflicts
This commit is contained in:
@@ -19,7 +19,7 @@ export default function SWRAndAPI() {
|
||||
const [text, setText] = useState("");
|
||||
const { data, ...r } = useApiQuery((api) => api.data.readOne("comments", 1), {
|
||||
refine: (data) => data.data,
|
||||
revalidateOnFocus: true
|
||||
revalidateOnFocus: true,
|
||||
});
|
||||
const comment = data ? data : null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user