Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ Thumbs.db
# Temp
*.tmp
/tmp/
package-lock.json
6 changes: 4 additions & 2 deletions index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import { CoTrackProAuth } from './auth';
import { CoTrackProAuth, RequireTier } from './auth';
import { CoTrackProLayout } from './layout';
import { SpeedInsights } from '@vercel/speed-insights/react'

Expand All @@ -15,7 +15,9 @@ root.render(
<React.StrictMode>
<CoTrackProAuth>
<CoTrackProLayout>
<App />
<RequireTier tier="professional" access="legal">
<App />
</RequireTier>
<SpeedInsights />
</CoTrackProLayout>
</CoTrackProAuth>
Expand Down
Loading