Skip to content

Commit

Permalink
Merge 1fab7a4 into de8d796
Browse files Browse the repository at this point in the history
  • Loading branch information
scotthallock authored Apr 23, 2023
2 parents de8d796 + 1fab7a4 commit d946b8b
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 6 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions components/Footer/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './Footer'
File renamed without changes.
1 change: 1 addition & 0 deletions components/Input/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './Input'
File renamed without changes.
1 change: 1 addition & 0 deletions components/InputGroup/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './InputGroup'
8 changes: 4 additions & 4 deletions components/Layout.tsx → components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react'
import AppNav from './AppNav'
import Footer from './Footer'
import AppNav from '../AppNav'
import Footer from '../Footer'
import Head from 'next/head'
import type { LayoutGetter } from '../@types/page'
import styles from '../scss/layout.module.scss'
import type { LayoutGetter } from '../../@types/page'
import styles from './layout.module.scss'

const Layout: React.FC<{ title?: string }> = ({ children, title }) => (
<>
Expand Down
1 change: 1 addition & 0 deletions components/Layout/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { getLayout, default } from './Layout'
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions components/LoadingSpinner/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './LoadingSpinner'
5 changes: 3 additions & 2 deletions components/admin/AdminLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React from 'react'
import LoadingSpinner from '../../components/LoadingSpinner'
import Layout from '../../components/Layout'
import LoadingSpinner from '../LoadingSpinner'
import Layout from '../Layout'
import _ from 'lodash'
import { GetAppProps } from '../../graphql'
import Error, { StatusCode } from '../../components/Error'
import { useRouter } from 'next/router'

export const AdminLayout: React.FC<GetAppProps & { title?: string }> = ({
data,
children
Expand Down

0 comments on commit d946b8b

Please sign in to comment.