refactor: rewrite useAppConfig with RQ

This commit is contained in:
Rıdvan Akca
2024-03-07 18:13:18 +03:00
parent bd5aedd83f
commit 63b9943203
9 changed files with 72 additions and 71 deletions

View File

@@ -1,14 +0,0 @@
import { gql } from '@apollo/client';
export const GET_APP_CONFIG = gql`
query GetAppConfig($key: String!) {
getAppConfig(key: $key) {
id
key
allowCustomConnection
canConnect
canCustomConnect
shared
disabled
}
}
`;