Skip to content

Commit

Permalink
chore: removes .js and .jsx imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Jun 18, 2023
1 parent 86afc8f commit 712c4bd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ThemeProvider } from 'next-themes';
import { type AppProps } from 'next/app.js';
import { type AppProps } from 'next/app';

import '@/styles/globals.css';

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Head, Html, Main, NextScript } from 'next/document.js';
import { Head, Html, Main, NextScript } from 'next/document';

export default function Document() {
return (
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/tests/home.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render, screen } from '@testing-library/react';

import Home from '@/pages/index.jsx';
import Home from '@/pages/index';

describe('Home page', () => {
it('should render the home page', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { Typography } from './typography/typography.js';
export { Typography } from './typography/typography';
2 changes: 1 addition & 1 deletion packages/ui/src/typography/typography.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { render, screen } from '@testing-library/react';

import { Typography } from './typography.js';
import { Typography } from './typography';

describe('typography component', () => {
it('should render the component', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/typography/typography.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from '@storybook/react';

import { Typography } from './typography.js';
import { Typography } from './typography';

export default {
title: 'UI / Typography',
Expand Down

0 comments on commit 712c4bd

Please sign in to comment.