Skip to content

Commit bec08ec

Browse files
author
Teodor C.
committed
chore: misc fixes
chore: fix lint chore: `rm package-lock.json` Keeps `yarn` bias for the moment. chore: update package.json
1 parent 2e233af commit bec08ec

File tree

7 files changed

+14
-37
lines changed

7 files changed

+14
-37
lines changed

.claude/settings.local.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ xcuserdata
3232
bazel-*
3333
build-cmake
3434
node_modules/
35-
.dart_tool/
35+
.dart_tool/
36+
37+
# Claude settings
38+
**/.claude/settings.local.json

react-native/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ yarn-error.log
7676
# Ditto
7777
ditto
7878

79-
# Claude settings
80-
.claude/settings.local.json
81-
8279
# MSBuild logs
8380
*.binlog
8481
msbuild_*.binlog

react-native/App.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const App = () => {
123123
const existingInstance = getDittoInstance();
124124
if (existingInstance) {
125125
ditto.current = existingInstance;
126-
126+
127127
// Re-register observers for this component
128128
taskObserver.current = ditto.current.store.registerObserver(
129129
'SELECT * FROM tasks WHERE NOT deleted',
@@ -139,12 +139,12 @@ const App = () => {
139139
);
140140
return;
141141
}
142-
142+
143143
// Prevent multiple Ditto instances
144144
if (ditto.current) {
145145
return;
146146
}
147-
147+
148148
try {
149149
// https://docs.ditto.live/sdk/latest/install-guides/react-native#onlineplayground
150150
const databaseId = DITTO_APP_ID;
@@ -212,7 +212,7 @@ const App = () => {
212212

213213
useEffect(() => {
214214
let mounted = true;
215-
215+
216216
(async () => {
217217
const granted =
218218
Platform.OS === 'android' ? await requestPermissions() : true;
@@ -225,7 +225,7 @@ const App = () => {
225225
);
226226
}
227227
})();
228-
228+
229229
// Cleanup function
230230
return () => {
231231
mounted = false;

react-native/components/NewTaskModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const NewTaskModal: React.FC<NewTaskModalProps> = ({visible, onSubmit, onClose})
2626
}
2727
};
2828

29-
if (!visible) return null;
29+
if (!visible) {return null;}
3030

3131
// For Windows, render as an absolute positioned overlay within the app
3232
if (Platform.OS === 'windows') {
@@ -165,4 +165,4 @@ const styles = StyleSheet.create({
165165
},
166166
});
167167

168-
export default NewTaskModal;
168+
export default NewTaskModal;

react-native/dittoSingleton.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ export const clearDittoInstance = (): void => {
2828
}
2929
globalDittoInstance = null;
3030
}
31-
};
31+
};

react-native/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,9 +1058,9 @@
10581058
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
10591059
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
10601060

1061-
"@dittolive/ditto@file:../../ditto/sdks/js/dist/ditto-package11.tgz":
1061+
"@dittolive/ditto@file:../../ditto/sdks/js/dist/ditto-package13.tgz":
10621062
version "9.9.9"
1063-
resolved "file:../../ditto/sdks/js/dist/ditto-package11.tgz#d50534798d928890b82ca5eed56ce58265eda23b"
1063+
resolved "file:../../ditto/sdks/js/dist/ditto-package13.tgz#1a9d43693a6d87648a15b2d1b2167ea5edf7f54f"
10641064

10651065
"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0":
10661066
version "4.7.0"

0 commit comments

Comments
 (0)