Skip to content

Commit

Permalink
Resolve path related error
Browse files Browse the repository at this point in the history
  • Loading branch information
hani-iterable committed Aug 12, 2024
1 parent 80ceb0e commit c8d6dbf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
7 changes: 4 additions & 3 deletions react-example/src/components/LoginFormWithoutJWT.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import { ChangeEvent, FC, FormEvent, useState } from 'react';
import styled from 'styled-components';

import _TextField from 'src/components/TextField';
import _Button from 'src/components/Button';
import { TextField as _TextField } from './TextField';
import { Button as _Button } from './Button';

import { useUser } from 'src/context/Users';
import { useUser } from '../context/Users';

const TextField = styled(_TextField)``;

Expand Down
20 changes: 10 additions & 10 deletions react-example/src/indexWithoutJWT.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ import { initializeWithConfig, WithoutJWTParams } from '@iterable/web-sdk';
import ReactDOM from 'react-dom';
import './styles/index.css';

import Home from 'src/views/Home';
import Commerce from 'src/views/Commerce';
import Events from 'src/views/Events';
import Users from 'src/views/Users';
import InApp from 'src/views/InApp';
import { BrowserRouter, Routes, Route } from 'react-router-dom';
import Link from 'src/components/Link';
import styled from 'styled-components';
import { UserProvider } from 'src/context/Users';
import { Home } from './views/Home';
import { Commerce } from './views/Commerce';
import { Events } from './views/Events';
import { Users } from './views/Users';
import { InApp } from './views/InApp';
import LoginFormWithoutJWT from './components/LoginFormWithoutJWT';
import AUTTesting from './views/AUTTesting';
import EmbeddedMsgs from './views/EmbeddedMsgs';
import EmbeddedMessage from './views/Embedded';
import EmbeddedMsgsImpressionTracker from './views/EmbeddedMsgsImpressionTracker';
import { EmbeddedMsgs } from './views/EmbeddedMsgs';
import { EmbeddedMessage } from './views/Embedded';
import { EmbeddedMsgsImpressionTracker } from './views/EmbeddedMsgsImpressionTracker';
import { Link } from './components/Link';
import { UserProvider } from './context/Users';

const Wrapper = styled.div`
display: flex;
Expand Down

0 comments on commit c8d6dbf

Please sign in to comment.