Skip to content

Commit 6c38a42

Browse files
committed
fix: make AuthDomainProps read only
1 parent b69e3bc commit 6c38a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/components/snapshot/AuthDomain.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ type AuthDomainProps = {
1717
setParentAuthDomain: (domain: string) => void;
1818
};
1919

20-
function AuthDomain({ dispatch, userGroups, setParentAuthDomain }: AuthDomainProps) {
20+
function AuthDomain({ dispatch, userGroups, setParentAuthDomain }: Readonly<AuthDomainProps>) {
2121
const [selectedAuthDomain, setSelectedAuthDomain] = React.useState<string | undefined>(undefined);
2222

2323
useOnMount(() => {

0 commit comments

Comments
 (0)