This repository was archived by the owner on Jan 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ This is a small [Next.js](https://nextjs.org/) fullstack app that allows you to
14
14
First, clone the repository and install the dependencies:
15
15
16
16
``` bash
17
- npm run i
17
+ npm i
18
18
```
19
19
20
20
Then, run the development server:
Original file line number Diff line number Diff line change
1
+ import { join } from "path" ;
2
+
1
3
import { CSSProperties } from "react" ;
2
4
3
5
// Basic scrollable column of images
4
-
5
- export const ROOT_DIRECTORY = `${ process . cwd ( ) } /samples` ; // Can be absolute or relative to the project root
6
+ export const ROOT_DIRECTORY = join ( process . cwd ( ) , "samples" ) ; // Can be absolute or relative to the project root
6
7
export const RECURSIVE = true ;
7
8
export const MAX_IMAGES = 8 ;
8
9
export const POLL_INTERVAL = 5 * 1000 ; // 5 seconds
Original file line number Diff line number Diff line change 1
- import { CSSProperties } from "react " ;
1
+ import { join } from "path " ;
2
2
3
- // Sample configuration for the `stairs/wall screen` at Phantom
3
+ import { CSSProperties } from "react" ;
4
4
5
- export const ROOT_DIRECTORY = `${ process . cwd ( ) } /samples` ; // Can be absolute or relative to the project root
5
+ // Basic scrollable column of images
6
+ export const ROOT_DIRECTORY = join ( process . cwd ( ) , "samples" ) ;
6
7
export const RECURSIVE = true ;
7
8
export const MAX_IMAGES = 8 ;
8
9
export const POLL_INTERVAL = 5 * 1000 ; // 5 seconds
You can’t perform that action at this time.
0 commit comments