Skip to content

Commit

Permalink
💄empty
Browse files Browse the repository at this point in the history
  • Loading branch information
noeypatt committed Apr 26, 2020
1 parent f5f92d8 commit d5adf51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/Empty.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import React from 'react'
import Link from 'next/link';
import Dashboard from './layout/dashboard';

const Empty = () => {
return (
<React.Fragment>
{
typeof document === 'undefined' ?
null :
<Dashboard>
<div className="warp-empty">
<div className="content-empty">
<img src="/static/empty.jpg" alt="empty" />
Expand All @@ -18,6 +20,7 @@ const Empty = () => {
<h5>หน้าหลัก</h5>
</Link>
</div>
</Dashboard>
}
</React.Fragment>
)
Expand Down
1 change: 1 addition & 0 deletions pages/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const MainPage = () => {
typeof document === 'undefined' ?
null :
<Dashboard>
Main
</Dashboard>
}
</React.Fragment>
Expand Down

1 comment on commit d5adf51

@vercel
Copy link

@vercel vercel bot commented on d5adf51 Apr 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.