Skip to content

Commit f25d3f8

Browse files
committed
Format client
1 parent b4aa2c2 commit f25d3f8

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎client/src/components/RecordingAnnotationDetails.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
getFileAnnotationDetails,
66
} from "../api/api";
77
import { getNABatFileAnnotationDetails } from "../api/NABatApi";
8-
import useState from '@/use/useState';
8+
import useState from "@/use/useState";
99
1010
export default defineComponent({
1111
props: {

‎client/src/constants.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@ const NABAT_PATH_REGEX = /^\/?nabat(\/|$)/;
2020
// link) - and not deeper client-side routes like "/nabat/:id/spectrogram".
2121
const NABAT_ENTRYPOINT_PATH_REGEX = /^\/nabat\/[^/]+\/?$/;
2222

23-
export { RecordingMimeTypes, DEFAULT_SAMPLE_FRAME_ID, NABAT_PATH_REGEX, NABAT_ENTRYPOINT_PATH_REGEX };
23+
export {
24+
RecordingMimeTypes,
25+
DEFAULT_SAMPLE_FRAME_ID,
26+
NABAT_PATH_REGEX,
27+
NABAT_ENTRYPOINT_PATH_REGEX,
28+
};
2429
export type { SpectrogramView };

‎client/src/use/useNABatTokens.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { readonly, ref } from 'vue';
1+
import { readonly, ref } from "vue";
22
import { axiosInstance } from "../api/api";
33
import { NABAT_PATH_REGEX } from "../constants";
44

55
// Force setting of the tokens to happen with the exported setters
6-
const _nabatApiToken = ref('');
7-
const _nabatRefreshToken = ref('');
6+
const _nabatApiToken = ref("");
7+
const _nabatRefreshToken = ref("");
88

99
const nabatApiToken = readonly(_nabatApiToken);
1010
const nabatRefreshToken = readonly(_nabatRefreshToken);

0 commit comments

Comments
 (0)