Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pavish committed Jul 25, 2024
1 parent 503c907 commit edbccab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions mathesar_ui/src/pages/database/DatabaseDetails.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import { _ } from 'svelte-i18n';
import { reflectApi } from '@mathesar/api/rest/reflect';
import type { Database } from '@mathesar/api/rpc/databases';
import type { Schema } from '@mathesar/api/rpc/schemas';
Expand Down
3 changes: 2 additions & 1 deletion mathesar_ui/src/pages/home/DatabaseRow.svelte
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<script lang="ts">
import { _ } from 'svelte-i18n';
import type { Database } from '@mathesar/api/rpc/databases';
import { iconDeleteMajor, iconEdit } from '@mathesar/icons';
import { iconConnection } from '@mathesar/icons';
import { getDatabasePageUrl } from '@mathesar/routes/urls';
import { modal } from '@mathesar/stores/modal';
import { getUserProfileStoreFromContext } from '@mathesar/stores/userProfile';
import { Button, Icon } from '@mathesar-component-library';
import { _ } from 'svelte-i18n';
const userProfileStore = getUserProfileStoreFromContext();
$: userProfile = $userProfileStore;
Expand Down
3 changes: 2 additions & 1 deletion mathesar_ui/src/pages/home/HomePage.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<script lang="ts">
import { _ } from 'svelte-i18n';
import type { Database } from '@mathesar/api/rpc/databases';
import EntityContainerWithFilterBar from '@mathesar/components/EntityContainerWithFilterBar.svelte';
import { RichText } from '@mathesar/components/rich-text';
Expand All @@ -10,7 +12,6 @@
import { getUserProfileStoreFromContext } from '@mathesar/stores/userProfile';
import { DatabasesEmptyState } from '@mathesar/systems/connections';
import { Button, Icon } from '@mathesar-component-library';
import { _ } from 'svelte-i18n';
import DatabaseRow from './DatabaseRow.svelte';
Expand Down
3 changes: 2 additions & 1 deletion mathesar_ui/src/stores/databases.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { type Readable, derived, writable } from 'svelte/store';

import { api } from '@mathesar/api/rpc';
import type { Database } from '@mathesar/api/rpc/databases';
import { preloadCommonData } from '@mathesar/utils/preloadData';
Expand All @@ -7,7 +9,6 @@ import {
WritableMap,
defined,
} from '@mathesar-component-library';
import { type Readable, derived, writable } from 'svelte/store';

const commonData = preloadCommonData();

Expand Down

0 comments on commit edbccab

Please sign in to comment.