Skip to content

Commit 63f3793

Browse files
Copilothotlong
andcommitted
Add explanatory comment for eslint-disable in _layout.tsx
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent e86f597 commit 63f3793

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/_layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function RootLayout() {
6767

6868
const client = useMemo(
6969
() => createObjectStackClient(token),
70-
// eslint-disable-next-line react-hooks/exhaustive-deps
70+
// eslint-disable-next-line react-hooks/exhaustive-deps -- serverUrl is used by setObjectStackApiUrl, not by createObjectStackClient
7171
[token],
7272
);
7373

0 commit comments

Comments
 (0)