-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It works! Doesn't look good and is slow, but it works!
- Loading branch information
Showing
9 changed files
with
8 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
import { Modal } from "./modal"; | ||
import DocumentViewer from "@/components/document-viewer"; | ||
|
||
export default function DocumentModal(props: { id: number }) { | ||
return ( | ||
<Modal> | ||
<DocumentViewer id={props.id}></DocumentViewer> | ||
</Modal> | ||
); | ||
export default function FullPageDocumentPage({ params }: { params: { id: number } }) { | ||
return <DocumentViewer id={params.id} />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
import DocumentViewer from "@/components/document-viewer"; | ||
|
||
export default function FullPageDocumentPage(props: { id: number }) { | ||
return ( | ||
<DocumentViewer id={props.id} /> | ||
); | ||
export default function FullPageDocumentPage({ params }: { params: { id: number } }) { | ||
console.log("FULLL PAPGJPIGHEGPIUSHEGPIUWEGHPIWUEGH: " + params.id); | ||
return <DocumentViewer id={params.id} />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters