Skip to content

Commit

Permalink
fix relative imports after moving src
Browse files Browse the repository at this point in the history
  • Loading branch information
baruchiro committed Jan 12, 2024
1 parent a5a20b6 commit 3dcb563
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ui-react/src/Store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
Log
} from './types';
import accountMetadata, { exporterUIHandlers } from './accountMetadata';
import { YnabAccountDataType, YnabConfig } from '../../src/backend/commonTypes';
import { YnabAccountDataType, YnabConfig } from '../../src/src/backend/commonTypes';

export default class Store {
config?: Config;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import BootstrapTable from 'react-bootstrap-table-next';
import { Button } from 'react-bootstrap';
import { observer } from 'mobx-react-lite';
import { YnabConfig } from '../../types';
import { YnabAccountDataType } from '../../../../src/backend/commonTypes';
import { YnabAccountDataType } from '../../../../src/src/backend/commonTypes';

type AccountNumberToYnabAccountIdMappingObject = YnabConfig['options']['accountNumbersToYnabAccountIds'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { toJS } from 'mobx';
import { observer } from 'mobx-react-lite';
import React, { useState } from 'react';
import { Button, Card, Form, Image } from 'react-bootstrap';
import { Credentials } from '../../../../../src/backend/commonTypes';
import { Credentials } from '../../../../../src/src/backend/commonTypes';
import { GoogleSheetsConfig } from '../../../types';
import styles from '../EditFileExporter.module.css';
import LoginButton from './LoginButton';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { Button } from 'react-bootstrap';
import { Credentials } from '../../../../../src/backend/commonTypes';
import { Credentials } from '../../../../../src/src/backend/commonTypes';
import { electronGoogleOAuth2Connector } from '../../../eventsBridge';

type LoginButtonProps = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useCallback, useMemo } from 'react';
import { Form } from 'react-bootstrap';
import { Typeahead } from 'react-bootstrap-typeahead';
import { Credentials } from '../../../../../src/backend/commonTypes';
import { Credentials } from '../../../../../src/src/backend/commonTypes';
import { useUserSpreadsheets } from './hooks';

type SheetsDropdownProps = {
Expand Down
2 changes: 1 addition & 1 deletion ui-react/src/components/exporters/google-sheets/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useEffect, useState } from 'react';
import {
Credentials,
Spreadsheet,
} from '../../../../../src/backend/commonTypes';
} from '../../../../../src/src/backend/commonTypes';
import {
createSpreadsheet,
getAllUserSpreadsheets,
Expand Down
2 changes: 1 addition & 1 deletion ui-react/src/eventsBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
Credentials,
FinancialAccountDetails,
YnabAccountDetails,
} from '../../src/backend/commonTypes';
} from '../../src/src/backend/commonTypes';
import { Config, YnabConfig } from './types';

const electron = window.require('electron');
Expand Down
2 changes: 1 addition & 1 deletion ui-react/src/types.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Types common with the electron code

import { Credentials } from '../../src/backend/commonTypes';
import { Credentials } from '../../src/src/backend/commonTypes';

/// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
export enum OutputVendorName {
Expand Down

0 comments on commit 3dcb563

Please sign in to comment.