Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Format createStore initialization for readability

Richie McIlroy8ca7a49fe9ee
diff --git a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
index aaeb7568d..f1fcf0771 100644
--- a/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/new-main/index.tsx
@@ -536,9 +536,9 @@ function Page() {
return windowTargets.data?.filter((target) => ids.has(target.id));
});
- const [recordingsStore, setRecordingsStore] = createStore<RecordingWithPath[]>(
- [],
- );
+ const [recordingsStore, setRecordingsStore] = createStore<
+ RecordingWithPath[]
+ >([]);
createEffect(() => {
const data = recordings.data;
if (!data) {